mio_source_tcp.h File Reference
MIO passive TCP socket source initializer. More...
#include <airframe/mio.h>
Go to the source code of this file.
Data Structures | |
struct | _MIOSourceTCPConfig |
TCP source configuration context. More... | |
Typedefs | |
typedef _MIOSourceTCPConfig | MIOSourceTCPConfig |
TCP source configuration context. | |
Functions | |
gboolean | mio_source_init_tcp (MIOSource *source, const char *spec, MIOType vsp_type, void *cfg, GError **err) |
Initialize a source for reading from a passive TCP socket. |
Detailed Description
MIO passive TCP socket source initializer.Most applications should use the interface in mio_config.h to access this initializer.
Typedef Documentation
|
TCP source configuration context. Pass as the cfg argument to mio_source_init_tcp(). |
Function Documentation
|
Initialize a source for reading from a passive TCP socket. This source supports single-threaded, sequential access only; clients connecting to an application using this source may be refused connection while the application is servicing a previously connected client.
|