Airframe Application Utilities
libairframe 0.7.2 API documentation

Main Page | Data Structures | File List | Data Fields | Globals

_MIOSourceTCPConfig Struct Reference

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.
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.

Detailed Description

TCP source configuration context.

Pass as the cfg argument to mio_source_init_tcp().


The documentation for this struct was generated from the following file: