30 #ifndef PTLIB_IPDATAGRAMSOCKET_H
31 #define PTLIB_IPDATAGRAMSOCKET_H
104 const Slice * slices,
112 #include "msos/ptlib/ipdsock.h"
114 #include "unix/ptlib/ipdsock.h"
128 const Slice * slices,
135 #endif // PTLIB_IPDATAGRAMSOCKET_H
virtual bool InternalReadFrom(Slice *slices, size_t sliceCount, PIPSocketAddressAndPort &ipAndPort)
virtual PBoolean WriteTo(const void *buf, PINDEX len, const Address &addr, WORD port)
Write a datagram to a remote computer.
virtual bool InternalWriteTo(const Slice *slices, size_t sliceCount, const PIPSocketAddressAndPort &ipAndPort)
This class describes a type of socket that will communicate using the Internet Protocol.
Definition: ipsock.h:47
A class describing an IP address and port number combination.
Definition: ipsock.h:278
Structure that defines a "slice" of memory to be written to.
Definition: socket.h:434
bool PBoolean
Definition: object.h:174
PIPDatagramSocket()
Create a TCP/IP protocol socket channel.
A class describing an IP address.
Definition: ipsock.h:59
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:41