TCP source configuration context. More...
#include <mio_source_tcp.h>
Data Fields | |
char * | default_port |
String containing default service name or integer TCP port number. | |
struct timeval | timeout |
select(2) timeout used by next_source; next_source will wait no longer than this before failing and setting MIO_F_CTL_POLL to allow applications to do work or to detect termination while awaiting a connection. | |
TCP source configuration context.
Pass as the cfg argument to mio_source_init_tcp().