ENet Class Library for C#

Host Members

Host overview

Public Static (Shared) Operators

Equality Operator
Inequality Operator

Public Instance Constructors

Host Constructor Initializes a host based on a native C host.

Public Instance Properties

IsInitialized Returns true if the host is initialized.
NativeData Gets or sets the native C host.

Public Instance Methods

Broadcast Broadcast a packet to all peers.
CheckEvents Checks for queued events.
CompressWithRangeEncoder Enables compression using the range encoder.
ConnectOverloaded. Connects to a remote computer at the given host and port.
Dispose Destroys the host.
DoNotCompress Disables compression.
EqualsOverloaded.
Flush Sends queued packets immediately. Normally they are sent when you call Service.
GetHashCode
GetType (inherited from Object)
Initialize Initialize a host that will accept connections on a particular address, or not accept connections.
InitializeClient Initialize a host that will not accept connections.
InitializeServer Initialize a host that will accept connections on any IP address.
Service Sends queued outgoing packets, receives incoming packets, and handles connection events.
SetBandwidthLimit Set the bandwidth limit.
SetChannelLimit Set the channel limit.
ToString (inherited from ValueType)

Protected Instance Methods

Finalize (inherited from Object)
MemberwiseClone (inherited from Object)

See Also

Host Class | ENet Namespace