![]() |
Public API Reference |
#include <netman.h>
Inheritance diagram for iNetworkManager:

Public Methods | |
| virtual void | RegisterConnectedSocket (iNetworkSocket2 *, iNetworkPacket *)=0 |
| Register a connection for polling with its associated packet. More... | |
| virtual bool | UnregisterConnectedSocket (iNetworkSocket2 *)=0 |
| Unregister a connection. More... | |
| virtual void | RegisterListeningSocket (iNetworkSocket2 *, iNetworkPacket *)=0 |
| Register a listener for polling with its associated packet. More... | |
| virtual bool | UnregisterListeningSocket (iNetworkSocket2 *)=0 |
| Unregister a listener. More... | |
| virtual bool | Send (iNetworkSocket2 *, iNetworkPacket *)=0 |
| Send a packet on a connected socket. More... | |
| virtual bool | SendToAll (iNetworkPacket *)=0 |
| Send a packet to all registered, connected sockets that iNetworkPacket::FilterSocket() returns true for. More... | |
If data is waiting, it is added to the buffer of the packet associated with the connection. Once a packet is full, a network event is posted on the queue for the appliction to pick up. The event type is csevNetwork and event.Command.Info is a pointer to the packet where the data was stored.
Definition at line 78 of file netman.h.
|
||||||||||||
|
Register a connection for polling with its associated packet.
|
|
||||||||||||
|
Register a listener for polling with its associated packet.
|
|
||||||||||||
|
Send a packet on a connected socket.
|
|
|
Send a packet to all registered, connected sockets that iNetworkPacket::FilterSocket() returns true for.
|
|
|
Unregister a connection.
|
|
|
Unregister a listener.
|