udpsock.c File Reference

Go to the source code of this file.

Functions

UDPSOCKETNutUdpCreateSocket (u_short port)
 Create a UDP socket.
int NutUdpSendTo (UDPSOCKET *sock, u_long addr, u_short port, void *data, u_short len)
 Send a UDP datagram.
int NutUdpReceiveFrom (UDPSOCKET *sock, u_long *addr, u_short *port, void *data, u_short size, u_long timeout)
 Receive a UDP datagram.
int NutUdpDestroySocket (UDPSOCKET *sock)
 Close UDP socket.
UDPSOCKETNutUdpFindSocket (u_short port)
 Find a matching socket.
int NutUdpSetSockOpt (UDPSOCKET *sock, int optname, CONST void *optval, int optlen)
 Set value of a UDP socket option.
int NutUdpGetSockOpt (UDPSOCKET *sock, int optname, void *optval, int optlen)
 Get a UDP socket option value.

Variables

UDPSOCKETudpSocketList


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/