LRT14  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
Rhesus::Messenger::NetPeer Class Reference

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.
 
NetBufferReadMessage ()
 Returns the next message in the message queue.
 

Detailed Description

Represents a network connection.

Author
Tony Peng

The documentation for this class was generated from the following files: