This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
ToSocket -- Click element; sends data to socket (user-level)
ToSocket("TCP", IP, PORTNUMBER [, KEYWORDS])
ToSocket("UDP", IP, PORTNUMBER [, KEYWORDS])
ToSocket("UNIX", FILENAME [, KEYWORDS])
ToSocket("UNIX_DGRAM", FILENAME [, KEYWORDS])
Ports: at most 1 input, at most 1 output
Package: userlevel (core)
Sends data to the specified socket. Input packets are sent to the remote host or process. This element exists only for backward compatibility. See the more general Socket implementation for details, and for supported keyword arguments. A ToSocket is equivalent to a Socket with the CLIENT keyword set to TRUE or a Socket with no outputs.
... -> ToSocket(126.96.36.199, UDP, 47)
Generated by 'click-elem2man' from '../elements/userlevel/tosocket.hh' on 20/Feb/2006.