|
artdaq_mfextensions
v1_05_06
|
#include <arpa/inet.h>#include <errno.h>#include <netdb.h>#include <netinet/in.h>#include <stdio.h>#include <stdlib.h>#include <strings.h>#include <sys/socket.h>#include "trace.h"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 32 of file TCP_listen_fd.hh.