NetClient Properties |
The NetClient type exposes the following members.
Name | Description | |
---|---|---|
Configuration |
Gets the configuration used to instanciate this NetPeer
(Inherited from NetPeer.) | |
Connections |
Gets a copy of the list of connections
(Inherited from NetPeer.) | |
ConnectionsCount |
Gets the number of active connections
(Inherited from NetPeer.) | |
ConnectionStatus |
Gets the connection status of the server connection (or NetConnectionStatus.Disconnected if no connection)
| |
MessageReceivedEvent |
Signalling event which can be waited on to determine when a message is queued for reading.
Note that there is no guarantee that after the event is signaled the blocked thread will
find the message in the queue. Other user created threads could be preempted and dequeue
the message before the waiting thread wakes up.
(Inherited from NetPeer.) | |
Port |
Gets the port number this NetPeer is listening and sending on, if Start() has been called
(Inherited from NetPeer.) | |
ServerConnection |
Gets the connection to the server, if any
| |
Socket |
Gets the socket, if Start() has been called
(Inherited from NetPeer.) | |
Statistics |
Statistics on this NetPeer since it was initialized
(Inherited from NetPeer.) | |
Status |
Gets the NetPeerStatus of the NetPeer
(Inherited from NetPeer.) | |
Tag |
Gets or sets the application defined object containing data about the peer
(Inherited from NetPeer.) | |
UniqueIdentifier |
Gets a unique identifier for this NetPeer based on Mac address and ip/port. Note! Not available until Start() has been called!
(Inherited from NetPeer.) | |
UPnP |
Returns an UPnP object if enabled in the NetPeerConfiguration
(Inherited from NetPeer.) |