34 #ifndef PTLIB_IPDATAGRAMSOCKET_H 35 #define PTLIB_IPDATAGRAMSOCKET_H 82 #include "msos/ptlib/ipdsock.h" 84 #include "unix/ptlib/ipdsock.h" 89 #endif // PTLIB_IPDATAGRAMSOCKET_H virtual PBoolean WriteTo(const void *buf, PINDEX len, const Address &addr, WORD port)
Write a datagram to a remote computer.
This class describes a type of socket that will communicate using the Internet Protocol.
Definition: ipsock.h:63
WORD port
Port to be used by the socket when opening the channel.
Definition: socket.h:444
BOOL PBoolean
Definition: object.h:102
PIPDatagramSocket()
Create a TCP/IP protocol socket channel.
A class describing an IP address.
Definition: ipsock.h:75
virtual PBoolean ReadFrom(void *buf, PINDEX len, Address &addr, WORD &port)
Read a datagram from a remote computer.
Internet Protocol Datagram Socket class.
Definition: ipdsock.h:45