artdaq  v3_01_00
TCP_listen_fd.hh
Go to the documentation of this file.
1 #ifndef TCP_listen_fd_hh
2 #define TCP_listen_fd_hh
3 
4 // This file (TCP_listen_fd.hh) was created by Ron Rechenmacher <ron@fnal.gov> on
5 // Sep 15, 2016. "TERMS AND CONDITIONS" governing this file are in the README
6 // or COPYING file. If you do not have such a file, one can be obtained by
7 // contacting Ron or Fermi Lab in Batavia IL, 60510, phone: 630-840-3000.
8 // $RCSfile: .emacs.gnu,v $
9 // rev="$Revision: 1.30 $$Date: 2016/03/01 14:27:27 $";
10 
22 int TCP_listen_fd(int port, int rcvbuf);
23 
24 #endif // 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...