LRT13  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
Public Member Functions | List of all members
Network::NetPeer Class Reference

Represents a network connection. More...

#include <NetPeer.h>

Inherited by Network::NetClient, and Network::NetServer.

Public Member Functions

 NetPeer (char *ip, int port, NetConnectionType connType)
 Sets up a network connection.
 
 ~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: