NetConnectData Struct Reference

#include <netstructs.h>

Inheritance diagram for NetConnectData:

Inheritance graph
[legend]
Collaboration diagram for NetConnectData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int getPort ()
 
Returns:
the listening port of the connecting machine, in OSBO

void setPort (int p)
 sets the port

Public Attributes

char chName [PEER_MAX_NAME+1]
 the name of the player, who wants to connect
char chInfo [64]
 for any further information

Protected Attributes

Uint16 nListenPort

Detailed Description

Used when connecting, using NetPeerManager/NetPeerSocket.


Member Function Documentation

void NetConnectData::setPort ( int  p  )  [inline]

sets the port

Parameters:
p the port in OSBO


Member Data Documentation

Uint16 NetConnectData::nListenPort [protected]

the port on which the connectig machine listens for connections useful to tell others, how to connect this host


The documentation for this struct was generated from the following file:
Generated on Wed May 9 17:36:30 2007 for netrinjo by  doxygen 1.5.1