-
Notifications
You must be signed in to change notification settings - Fork 82
ToSocket
Tom Barbette edited this page Oct 3, 2018
·
2 revisions
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
Processing: pull
Drivers: userlevel
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(1.2.3.4, UDP, 47)
Generated by click-elem2man from ../elements/userlevel/tosocket.hh:8
on 2018/10/03.