-
Notifications
You must be signed in to change notification settings - Fork 81
FromSocket
FromSocket — Click element; reads data from socket (user-level)
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
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.
FromSocket(TCP, 0.0.0.0, 80) -> ...
Generated by click-elem2man from ../elements/userlevel/fromsocket.hh:8
on 2018/08/06.