udp_socket Struct Reference
[UDP Sockets]

#include <sock_var.h>


Detailed Description

UDP socket information structure.

Applications should not rely on the content of this structure. It may change without notice.


Data Fields

uint16_t so_last_error
 Last error of socket.
uint16_t so_local_port
 Local port number in net byte order.
UDPSOCKETso_next
 Link to next tcp socket structure.
uint32_t so_remote_addr
 Remote IP address in net byte order. Important just in case of an error.
uint16_t so_remote_port
 Remote port number in net byte order. Important just in case of an error.
int so_rx_bsz
 Receive buffer size.
int so_rx_cnt
 Number of data bytes in the receive buffer.
NETBUF * so_rx_nb
 Received, but not read by application.
HANDLE so_rx_rdy
 Receiver event queue.


Generated on Wed Apr 29 11:12:33 2009 for BTnut System Software by doxygen 1.5.1