This class describes a type of socket that will communicate using the IPX/SPX protocols
![]() | Address IPX protocol address specification |
![]() | PIPXSocket ( WORD port = 0 ) Create a new IPX datagram socket. |
![]() | Overrides from class PChannel |
![]() | Overrides from class PSocket |
![]() | Address and name space look up functions |
![]() | I/O functions |
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
This class describes a type of socket that will communicate using the IPX/SPX protocols
The port number as defined by the object instance construction or the
PIPSocket::SetPort() function.
The port number as defined by the object instance construction or the
PIPSocket::SetPort() function.
If the port parameter is zero then the port number as
defined by the object instance construction or the
PIPSocket::SetPort() function. For the UDP protocol, the queueSize parameter is ignored.
Overrides from class PChannel
Overrides from class PSocket
virtual BOOL Connect( const PString & address )
virtual BOOL Connect( const Address & address )
virtual BOOL Listen( unsigned queueSize = 5, WORD port = 0, Reusability reuse = AddressIsExclusive )
port - Port number to use for the connection.
reuse - Can/Cant listen more than once. Address and name space look up functions
static PString GetHostName( const Address & addr )
static BOOL GetHostAddress( Address & addr )
static BOOL GetHostAddress( const PString & hostname, Address & addr )
addr - Variable to receive hosts IPX addressBOOL GetLocalAddress( Address & addr )
BOOL GetLocalAddress( Address & addr, WORD & port )
port - Variable to receive peer hosts port numberBOOL GetPeerAddress( Address & addr )
BOOL GetPeerAddress( Address & addr, WORD & port )
port - Variable to receive peer hosts port number I/O functions
BOOL SetPacketType( int type )
int GetPacketType()
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