LRT14
1.0
|
Represents a network connection. More...
#include <NetPeer.h>
Inherited by Rhesus::Messenger::NetClient, and Rhesus::Messenger::NetServer.
Public Member Functions | |
NetPeer (char *ip, int port, NetConnectionType::Enum connType) | |
Sets up a network connection. | |
virtual | ~NetPeer () |
Releases the resources used by the NetConnection. | |
int | Open (int options=0,...) |
Opens the network connection. | |
int | Close () |
Closes and disconnects the network connection. | |
int | Send (NetBuffer *buff, NetConnection *to, NetChannel::Enum method, int channel, int id=-1) |
Sends the contents of the NetBuffer over the network connection. | |
NetBuffer * | ReadMessage () |
Returns the next message in the message queue. | |
Represents a network connection.