This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

ToSocket Element Documentation

NAME

ToSocket -- Click element; sends data to socket (user-level)

SYNOPSIS

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
Processing: pull
Drivers: userlevel
Package: userlevel (core)

DESCRIPTION

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.

EXAMPLES

  ... -> ToSocket(1.2.3.4, UDP, 47)

SEE ALSO

FromSocket, Socket

Generated by 'click-elem2man' from '../elements/userlevel/tosocket.hh' on 20/Feb/2006.

COMMENTS

 
elements/tosocket.txt · Last modified: 2006/02/20 10:41 (external edit)
 
Recent changes RSS feed Driven by DokuWiki