Public Member Functions | Public Attributes

SocketDescriptor Struct Reference

Describes the local socket to use for RakPeer::Startup. More...

#include <RakNetTypes.h>

List of all members.

Public Member Functions

 SocketDescriptor ()
 SocketDescriptor (unsigned short _port, const char *_hostAddress)

Public Attributes

unsigned short port
 The local port to bind to. Pass 0 to have the OS autoassign a port.
char hostAddress [32]
 The local network card address to bind to, such as "127.0.0.1". Pass an empty string to use INADDR_ANY.
unsigned short remotePortRakNetWasStartedOn_PS3

Detailed Description

Describes the local socket to use for RakPeer::Startup.

Definition at line 46 of file RakNetTypes.h.


Constructor & Destructor Documentation

SocketDescriptor::SocketDescriptor (  ) 

Definition at line 40 of file RakNetTypes.cpp.

SocketDescriptor::SocketDescriptor ( unsigned short  _port,
const char *  _hostAddress 
)

Definition at line 41 of file RakNetTypes.cpp.


Member Data Documentation

The local network card address to bind to, such as "127.0.0.1". Pass an empty string to use INADDR_ANY.

Definition at line 55 of file RakNetTypes.h.

unsigned short SocketDescriptor::port

The local port to bind to. Pass 0 to have the OS autoassign a port.

Definition at line 52 of file RakNetTypes.h.

Definition at line 59 of file RakNetTypes.h.


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