Public Member Functions

sp::network::NetworkSocket Class Reference

This class is used internally for the network socket API but can also be accessed by the engine's user. More...

#include <spNetworkSocket.hpp>

List of all members.

Public Member Functions

 NetworkSocket (const ENetworkProtocols Protocol=PROTOCOL_UDP)
 NetworkSocket (const ENetworkProtocols Protocol, SOCKET Socket)
 ~NetworkSocket ()
bool bindSocket (const NetworkAddress &Address)
SOCKET getSocket () const
ENetworkProtocols getProtocol () const

Detailed Description

This class is used internally for the network socket API but can also be accessed by the engine's user.


Constructor & Destructor Documentation

sp::network::NetworkSocket::NetworkSocket ( const ENetworkProtocols  Protocol = PROTOCOL_UDP  ) 
sp::network::NetworkSocket::NetworkSocket ( const ENetworkProtocols  Protocol,
SOCKET  Socket 
)
sp::network::NetworkSocket::~NetworkSocket (  ) 

Member Function Documentation

bool sp::network::NetworkSocket::bindSocket ( const NetworkAddress Address  ) 
ENetworkProtocols sp::network::NetworkSocket::getProtocol (  )  const [inline]
SOCKET sp::network::NetworkSocket::getSocket (  )  const [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines