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

FromSocket Element Documentation

NAME

FromSocket -- Click element; reads data from socket (user-level)

SYNOPSIS

FromSocket("TCP", IP, PORTNUMBER [, KEYWORDS])
FromSocket("UDP", IP, PORTNUMBER [, KEYWORDS])
FromSocket("UNIX", FILENAME [, KEYWORDS])
FromSocket("UNIX_DGRAM", FILENAME [, KEYWORDS])

Ports: at most 1 input, at most 1 output
Processing: push
Drivers: userlevel
Package: userlevel (core)

DESCRIPTION

Reads data from the specified socket. Packets received from the remote host or process are emitted on the output. This element exists only for backward compatibility. See the more general Socket implementation for details, and for supported keyword arguments. A FromSocket is equivalent to a Socket with the CLIENT keyword set to FALSE or a Socket with no inputs.

EXAMPLES

  FromSocket(TCP, 0.0.0.0, 80) -> ...

SEE ALSO

ToSocket, Socket

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

COMMENTS

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