SAMV71 Xplained Ultra Software Package 1.3

lwip_socket Struct Reference

Data Fields

struct netconnconn
struct netbuflastdata
u16_t lastoffset
s16_t rcvevent
u16_t sendevent
u16_t flags
int err

Detailed Description

Contains all internal pointers and states used for a socket

Definition at line 60 of file sockets.c.


Field Documentation

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

Definition at line 62 of file sockets.c.

last error that occurred on this socket

Definition at line 76 of file sockets.c.

socket flags (currently, only used for O_NONBLOCK)

Definition at line 74 of file sockets.c.

data that was left from the previous read

Definition at line 64 of file sockets.c.

offset in the data that was left from the previous read

Definition at line 66 of file sockets.c.

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

Definition at line 69 of file sockets.c.

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

Definition at line 72 of file sockets.c.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines