TcpServer MembersBespoke Osc Library

The TcpServer type exposes the following members.
Constructors

  NameDescription
Public methodTcpServer(Int32)
Initializes a new instance of the TcpServer class.
Public methodTcpServer(IPAddress, Int32, Boolean, Boolean)
Initializes a new instance of the TcpServer class.
Back to Top
Methods

  NameDescription
Public methodCloseConnection
Close an active connection.
Public methodDispose
Release the resources associated with this object.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStart
Start the Tcp server.
Public methodStop
Stop the Tcp server.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Fields

  NameDescription
Public fieldStatic memberMaxPendingConnections
The maximum number of connections that can be pending.
Back to Top
Properties

  NameDescription
Public propertyActiveConnectionCount
Gets the number of active connections.
Public propertyActiveConnections
Gets the list of active connections.
Public propertyIPAddress
Gets the IP address the Tcp server is bound to.
Public propertyIsRunning
Gets the state of the server.
Public propertyLittleEndianByteOrder
Gets or sets the expected endianness of integral value types.
Public propertyPort
Gets the port the Tcp server is bound to.
Public propertyReceiveDataInline
Gets the data reception mode applied to the Tcp server.
Back to Top
Events

  NameDescription
Public eventConnected
Raised when a connection is established.
Public eventDataReceived
Raised when data is received.
Public eventDisconnected
Raised when a connection is disconnected.
Back to Top
See Also