Click or drag to resize

ServerBinding Class

A ServerBinding represents an EndPoint that a server component will be accepting connections on. The binding can be bound to activate it and start listening for incoming connections, or unbound to close it.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharp.NetBinding
    Crestron.SimplSharp.NetServerBinding

Namespace: Crestron.SimplSharp.Net
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public class ServerBinding : Binding

The ServerBinding type exposes the following members.

Constructors
 NameDescription
Public methodServerBinding Server Binding Default Constructor.
Top
Properties
 NameDescription
Public propertyBindingAddress The IP Address of the binding as a String
(Inherited from Binding)
Public propertyEnableNagle Get or set the use of Nagle's Algorithm.
Public propertyEndPointAddress Gets a network EndPoint with a specified IP address in the form of a String.
Public propertyEndPointPortNumber Gets a port number for an Endpoint in the form of an integer.
Public propertyListenerThreadCount Gets or sets the number of listeners. Default Value: 1
Public propertyMaxWaitConnections Gets or sets the length of time (in seconds) to wait for a connection before terminating the attempt and generating an error. Default: 10 wait connections.
Public propertyPort Denotes the port number associated with the socket binding. On a server connection, this would be the protocol numbers (e.g: HTTP=80, FTP=21)
(Inherited from Binding)
Top
Methods
 NameDescription
Public methodAccept Permits an incoming connection attempt on a socket.
Public methodBindUnthreaded Bind the Unthreaded Connection.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodShouldSerializePort Returns whether the port is Serialized or not.
(Inherited from Binding)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUnbind Unbinds the connection.
Public methodUnbind(Boolean) Closes listening for incoming connections.
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also