Click or drag to resize

NetConnection Methods

The NetConnection type exposes the following members.

Methods
  NameDescription
Public methodApprove
Approves this connection; sending a connection response to the remote host
Public methodApprove(NetOutgoingMessage)
Approves this connection; sending a connection response to the remote host
Public methodCanSendImmediately
Public methodDeny
Denies this connection; disconnecting it
Public methodDeny(String)
Denies this connection; disconnecting it
Public methodDisconnect
Disconnect from the remote peer
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLocalTime
Gets local time value comparable to NetTime.Now from a remote value
Public methodGetRemoteTime
Gets the remote time value for a local time value produced by NetTime.Now
Public methodGetSendQueueInfo
Zero windowSize indicates that the channel is not yet instantiated (used) Negative freeWindowSlots means this amount of messages are currently queued but delayed due to closed window
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSendMessage
Send a message to this remote connection
Public methodToString
Returns a string that represents this object
(Overrides ObjectToString.)
Top
Extension Methods
See Also