Click or drag to resize

NetServer Properties

The NetServer type exposes the following members.

Properties
  NameDescription
Public propertyConfiguration
Gets the configuration used to instanciate this NetPeer
(Inherited from NetPeer.)
Public propertyConnections
Gets a copy of the list of connections
(Inherited from NetPeer.)
Public propertyConnectionsCount
Gets the number of active connections
(Inherited from NetPeer.)
Public propertyMessageReceivedEvent
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.)
Public propertyPort
Gets the port number this NetPeer is listening and sending on, if Start() has been called
(Inherited from NetPeer.)
Public propertySocket
Gets the socket, if Start() has been called
(Inherited from NetPeer.)
Public propertyStatistics
Statistics on this NetPeer since it was initialized
(Inherited from NetPeer.)
Public propertyStatus
Gets the NetPeerStatus of the NetPeer
(Inherited from NetPeer.)
Public propertyTag
Gets or sets the application defined object containing data about the peer
(Inherited from NetPeer.)
Public propertyUniqueIdentifier
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.)
Public propertyUPnP
Returns an UPnP object if enabled in the NetPeerConfiguration
(Inherited from NetPeer.)
Top
See Also