7 More Discussions You Might Find Interesting
1. Linux
Hello Admins,
My ask is how can I add two different subnet IPs to same box with two different gateways?
The issue is I can connect to the box when I am on ethernet LAN, but I am not able to connect to the same IP when I am on wifi. The server is RHEL 7 VM on vmware.
How can I get connected... (4 Replies)
Discussion started by: snchaudhari2
4 Replies
2. Red Hat
Dear All
I want tune my NIC's rps, rfs and xps value.
In my system I have two NIC (eth0, eth1) and I have a bond0 ( eth0, eth1).
Here is the question? Which device should I modify ?
eth0 and eth1? or just modify bond0 or modify all device (eth0, eth1, bond0)
Any advice is welcome.... (0 Replies)
Discussion started by: nnnnnnine
0 Replies
3. IP Networking
I am new in squid proxy.
My question is how to (and if it's necessary) to set one NIC for inbound traffic (http requests) and one NIC for outbound traffic (http answers)?
Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies
4. Solaris
I couldn't install my nic in solaris 10. I compiled and added
the driver but failed to attach the driver and ifconfig output
shows only loopback dev. Please see the following output and tell
me whether my nic has been detected and why the driver failed to
attach?
My nic is detected in linux... (0 Replies)
Discussion started by: vectrum
0 Replies
5. Shell Programming and Scripting
hi
i was trying to run the HTML script and was unable to run it as the apache server was not loaded on my linux server.....how do i check whether A[pache has been installed in my server or not.....???? (1 Reply)
Discussion started by: kullu
1 Replies
6. Hardware
I have seen research articles and forum postings that demonstrate that SSDs are poor at reading large files: the larger the file, the slower the SSD compared to traditional hard disk drives. The difference with hard disk drives becomes apparent at medium size files, say 20KB. Does this mean that... (2 Replies)
Discussion started by: figaro
2 Replies
7. UNIX for Dummies Questions & Answers
Hi, I'm fairly new to UNIX and am looking at the potential of using UNIX servers as Application Servers (similar to what is done by Citrix Metaframe and Terminal Services in windows) does anyone know whether this is possible or am I firing in the dark?
Thanks. (1 Reply)
Discussion started by: tombobs
1 Replies
irc(n) Low Level Tcl IRC Interface irc(n)
NAME
irc - Create IRC connection and interface.
SYNOPSIS
package require Tcl
package require irc ?0.2?
::irc::connection hostname
::irc::config key value
net registerevent event script
net connect
net user username localhostname userinfo
net nick nick
net ping
net join channel
net part channel
net privmsg target message
net send text
who ?address?
action
target ?index?
msg
DESCRIPTION
This package provides low-level commands to deal with the IRC protocol (Internet Relay Chat) for immediate and interactive multi-cast com-
munication.
::irc::connection hostname
The command creates a new object to deal with an IRC connection. Creating this IRC object does not automatically create the network
connection. It returns a new irc namespace command which can be used to interact with the new IRC connection.
::irc::config key value
Sets configuration key to value. Currently, the only config key defined is the boolean flag debug which, when turned on, makes irc
print more information about what is going on.
Per-connection Commands
In the following list of available connection methods net represents a connection command as returned by ::irc::connection.
net registerevent event script
Registers a callback handler for the specific event. Events available are those described in the IRC RFC: 1459. In addition, there
are several other events defined. defaultcommand adds a command that is called if no other callback is present. EOF is called if
the connection signals an End of File condition. script is executed in the connection namespace, which can take advantage of sev-
eral commands (see Callback Commands below) to aid in the parsing of data.
net connect
This causes the socket to be established. ::irc::connection created the namespace and the commands to be used, but did not actually
open the socket. This is done here.
net user username localhostname userinfo
Sends USER command to server. username is the username you want to appear. localhostname is the name of your server, and userinfo
is a short description of who you are.
net nick nick
NICK command. nick is the nickname you wish to use for the particular connection.
net ping
PING the IRC server.
net join channel
channel is the IRC channel to join. IRC channels typically begin with a hashmark ("#").
net part channel
Makes the client leave channel.
net privmsg target message
Sends message to target, which can be either a channel, or another user, in which case their nick is used.
net send text
Sends text to the IRC server.
Callback Commands
These commands can be used within callbacks
who ?address?
Returns the nick of the user who performed a command. The optional address keyword causes the command to return the user in the
format "username@address".
action Returns the action perfomed, such as KICK, PRIVMSG, MODE, etc... Normally not useful, as callbacks are bound to a particular event.
target ?index?
Returns the target of a particular command, such as the channel or user to whom a PRIVMSG is sent. In the case of multiple targets,
the optional index argument may be used to specify which one to return. The default is 0.
msg Returns the message portion of the command (the part after the :).
SEE ALSO
rfc 1459
KEYWORDS
irc, chat
irc 0.2 irc(n)