ZG2100 Network interface source

Embed: (wiki syntax)

« Back to documentation index

UDPSocket.h File Reference

UDPSocket.h File Reference

UDP Socket header file. More...

Go to the source code of this file.

Data Structures

class  UDPSocket
 This is a simple UDP Socket class. More...

Enumerations

enum  UDPSocketErr { ,
  UDPSOCKET_SETUP, UDPSOCKET_IF, UDPSOCKET_MEM, UDPSOCKET_INUSE,
  UDPSOCKET_OK = 0
}
 

UDP Socket error codes.

More...
enum  UDPSocketEvent { UDPSOCKET_READABLE }
 

UDP Socket Event(s)

More...

Detailed Description

UDP Socket header file.

Definition in file UDPSocket.h.


Enumeration Type Documentation

UDP Socket error codes.

Enumerator:
UDPSOCKET_SETUP 

UDPSocket not properly configured.

UDPSOCKET_IF 

Interface has problems, does not exist or is not initialized.

UDPSOCKET_MEM 

Not enough mem.

UDPSOCKET_INUSE 

Interface / Port is in use.

UDPSOCKET_OK 

Success.

Definition at line 36 of file UDPSocket.h.

UDP Socket Event(s)

Enumerator:
UDPSOCKET_READABLE 

Data in buf.

Definition at line 48 of file UDPSocket.h.