Introduction
Downloads
Documentation
Tutorials
Pixie Lite
Forum

Home

Platform_Win32_Network Class Reference

Inheritance diagram for Platform_Win32_Network:

Platform_Network PlatformEventListener

List of all members.


Public Member Functions

 Platform_Win32_Network ()
 ~Platform_Win32_Network ()
virtual void OnOsYield ()
virtual Platform_Network_ServerCreateServer (ConnectionMode mode, int port)
virtual Platform_Network_ClientCreateClient (ConnectionMode mode, const char *address, int port)
bool IsNetworkingEnabled ()
void DisableNetworking ()
bool UsingWinsock2 ()
void ClientDestroyed (Platform_Win32_Network_Client *client)
void ServerDestroyed (Platform_Win32_Network_Server *server)
const char * GetErrorMessage (unsigned int errorCode)

Detailed Description

Author:
Mattias Gustavsson

Definition at line 22 of file Platform_Win32_Network.h.


Constructor & Destructor Documentation

Platform_Win32_Network::Platform_Win32_Network (  ) 

Definition at line 19 of file Platform_Win32_Network.cpp.

Platform_Win32_Network::~Platform_Win32_Network (  ) 

Definition at line 81 of file Platform_Win32_Network.cpp.


Member Function Documentation

void Platform_Win32_Network::OnOsYield (  )  [virtual]

Receives the OsYield event, sent from Platform_OS when OsYield is called

Reimplemented from PlatformEventListener.

Definition at line 111 of file Platform_Win32_Network.cpp.

Platform_Network_Server * Platform_Win32_Network::CreateServer ( ConnectionMode  mode,
int  port 
) [virtual]

Implements Platform_Network.

Definition at line 177 of file Platform_Win32_Network.cpp.

Platform_Network_Client * Platform_Win32_Network::CreateClient ( ConnectionMode  mode,
const char *  address,
int  port 
) [virtual]

Implements Platform_Network.

Definition at line 198 of file Platform_Win32_Network.cpp.

bool Platform_Win32_Network::IsNetworkingEnabled (  ) 

Definition at line 127 of file Platform_Win32_Network.cpp.

void Platform_Win32_Network::DisableNetworking (  ) 

Definition at line 143 of file Platform_Win32_Network.cpp.

bool Platform_Win32_Network::UsingWinsock2 (  ) 

Definition at line 135 of file Platform_Win32_Network.cpp.

void Platform_Win32_Network::ClientDestroyed ( Platform_Win32_Network_Client client  ) 

Definition at line 153 of file Platform_Win32_Network.cpp.

void Platform_Win32_Network::ServerDestroyed ( Platform_Win32_Network_Server server  ) 

Definition at line 165 of file Platform_Win32_Network.cpp.

const char * Platform_Win32_Network::GetErrorMessage ( unsigned int  errorCode  ) 

Definition at line 219 of file Platform_Win32_Network.cpp.



Pixie University and the Pixie Game Engine is created and managed by Mattias Gustavsson.
Reproduction/republishing of any material on this site without permission is strictly prohibited.