|
artdaq
v3_09_05
|
Go to the source code of this file.
Functions | |
| int | TCP_listen_fd (int port, int rcvbuf) |
| Create a TCP listening socket on the given port and INADDR_ANY, with the given receive buffer. More... | |
Defines a generator function for a TCP listen socket
Definition in file TCP_listen_fd.hh.
| int TCP_listen_fd | ( | int | port, |
| int | rcvbuf | ||
| ) |
Create a TCP listening socket on the given port and INADDR_ANY, with the given receive buffer.
| port | Port to listen on |
| rcvbuf | Receive buffer for socket. Set to 0 for TCP automatic buffer size |
Definition at line 22 of file TCP_listen_fd.cc.