#include <ipxsock.h>
Inheritance diagram for PIPXSocket:

Address and name space look up functions | |
| BOOL | GetLocalAddress (Address &addr) |
| BOOL | GetLocalAddress (Address &addr, WORD &port) |
| BOOL | GetPeerAddress (Address &addr) |
| BOOL | GetPeerAddress (Address &addr, WORD &port) |
| static PString | GetHostName (const Address &addr) |
| static BOOL | GetHostAddress (Address &addr) |
| static BOOL | GetHostAddress (const PString &hostname, Address &addr) |
Public Member Functions | |
| PIPXSocket (WORD port=0) | |
Overrides from class PChannel | |
| virtual PString | GetName () const |
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) |
I/O functions | |
| BOOL | SetPacketType (int type) |
| int | GetPacketType () |
| virtual BOOL | ReadFrom (void *buf, PINDEX len, Address &addr, WORD &port) |
| virtual BOOL | WriteTo (const void *buf, PINDEX len, const Address &addr, WORD port) |
Protected Member Functions | |
| virtual BOOL | OpenSocket () |
| virtual const char * | GetProtocolName () const |
Classes | |
| class | Address |
|
|
Create a new IPX datagram socket.
|
|
|
Connect a socket to a remote host on the port number of the socket. This is typically used by the client or initiator of a communications channel. This connects to a "listening" socket at the other end of the communications channel. The port number as defined by the object instance construction or the PIPSocket::SetPort()# function.
|
|
|
Connect a socket to a remote host on the port number of the socket. This is typically used by the client or initiator of a communications channel. This connects to a "listening" socket at the other end of the communications channel. The port number as defined by the object instance construction or the PIPSocket::SetPort()# function.
Reimplemented from PSocket. |
|
||||||||||||
|
Get the IPX address for the specified host.
|
|
|
Get the IPX address for the specified host.
|
|
|
Get the host name for the host specified server.
|
|
||||||||||||
|
Get the IPX/SPX address for the local host.
|
|
|
Get the IPX/SPX address for the local host.
|
|
|
Get the platform and I/O channel type name of the channel. For an IPX/SPX socket this returns the network number, node number of the peer the socket is connected to, followed by the socket number it is connected to.
Reimplemented from PChannel. |
|
|
Gets the packet type for datagrams sent by this socket.
|
|
||||||||||||
|
Get the IPX/SPX address for the peer host the socket is connected to.
|
|
|
Get the IPX/SPX address for the peer host the socket is connected to.
|
|
|
This function returns the protocol name for the socket type. Implements PSocket. Reimplemented in PSPXSocket. |
|
||||||||||||||||
|
Listen on a socket for a remote host on the specified port number. This may be used for server based applications. A "connecting" socket begins a connection by initiating a connection to this socket. An active socket of this type is then used to generate other "accepting" sockets which establish a two way communications channel with the "connecting" socket. 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.
Reimplemented from PSocket. Reimplemented in PSPXSocket. |
|
|
Implements PSocket. Reimplemented in PSPXSocket. |
|
||||||||||||||||||||
|
Read a datagram from a remote computer.
|
|
|
Sets the packet type for datagrams sent by this socket.
|
|
||||||||||||||||||||
|
Write a datagram to a remote computer.
|
1.4.2