Internet Protocol Datagram Socket class
![]() | ReadFrom ( void * buf, PINDEX len, Address & addr, WORD & port ) Read a datagram from a remote computer. |
![]() | WriteTo ( const void * buf, PINDEX len, const Address & addr, WORD port ) Write a datagram to a remote computer. |
![]() | PIPDatagramSocket () Create a TCP/IP protocol socket channel. |
Socket establishment functions
Socket options functions
Port/Service database functions
Multiple socket selection functions
Integer conversion functions
Construction
Overrides from class PObject
Information functions
Reading functions
Writing functions
Miscellaneous functions
Error functions
Run Time Type functions
Comparison functions
I/O functions
Internet Protocol Datagram Socket class
virtual BOOL ReadFrom( void * buf, PINDEX len, Address & addr, WORD & port )
len - Number of bytes pointed to by buf.
addr - Address from which the datagram was received.
port - Port from which the datagram was received.virtual BOOL WriteTo( const void * buf, PINDEX len, const Address & addr, WORD port )
len - Number of bytes pointed to by buf.
addr - Address to which the datagram is sent.
port - Port to which the datagram is sent.
Alphabetic index HTML hierarchy of classes or Java