lwip_socket Struct Reference


Data Fields

struct netconnconn
struct netbuf * lastdata
u16_t lastoffset
u16_t rcvevent
u16_t sendevent
u16_t flags
int err

Detailed Description

Contains all internal pointers and states used for a socket

Field Documentation

struct netconn* lwip_socket::conn [read]

sockets currently are built on netconns, each socket has one netconn

struct netbuf* lwip_socket::lastdata [read]

data that was left from the previous read

u16_t lwip_socket::lastoffset

offset in the data that was left from the previous read

u16_t lwip_socket::rcvevent

number of times data was received, set by event_callback(), tested by the receive and select functions

u16_t lwip_socket::sendevent

number of times data was received, set by event_callback(), tested by select

u16_t lwip_socket::flags

socket flags (currently, only used for O_NONBLOCK)

int lwip_socket::err

last error that occurred on this socket


The documentation for this struct was generated from the following file:
Generated on Sun Mar 23 19:22:46 2008 for lwIP 1.3.0 by  doxygen 1.5.4