socket_data Struct Reference

Structure for TCP sockets options. More...

#include <dcDCPL_Socket.h>


Data Fields

uint32_t flags
 Standard BSD bitwise boolean socket options passed directly by the API user.
uint32_t buflen
 Send/receive buffer size (set if >0).
int tcp_nodelay
 Boolean.
int keep_alive
 Enable the TCP "keepalive probe" that check after a long inactivity period (several hours) that the peer is alive.
uint16_t linger_time
 Number of seconds a close socket can be blocked to transmit pending data (if SO_LINGER is set in flags).


Detailed Description

Structure for TCP sockets options.

Field Documentation

uint32_t flags

Standard BSD bitwise boolean socket options passed directly by the API user.

uint32_t buflen

Send/receive buffer size (set if >0).

Boolean.

If true, the TCP nagle algorithm must be disabled.

Enable the TCP "keepalive probe" that check after a long inactivity period (several hours) that the peer is alive.

uint16_t linger_time

Number of seconds a close socket can be blocked to transmit pending data (if SO_LINGER is set in flags).


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

Generated on Fri Apr 17 15:18:24 2009 for DPWSCore by  doxygen 1.5.8