The IpClient type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
IpClient(String, Int32) |
Creates a new IpClient instance.
|
![]() |
IpClient(String, Int32, Int32) |
Creates a new IpClient instance.
|
Methods
Name | Description | |
---|---|---|
![]() |
Connect |
Establishes connection with server.
|
![]() |
Disconnect |
Closes connection with server.
|
![]() |
Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) |
![]() |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() |
FireIpConnected |
Fires IpClientConnectedEvent. This event is fired upon
establishing a connection with the server.
|
![]() |
FireIpDisconnected |
Fires IpClientDisconnectedEvent. This event is fired upon
closing connection with the server.
|
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() |
Hostname |
The server hostname or IP address
|
![]() |
Port |
The server port
|
![]() |
Socket |
Gets a socket established after invoking the IpClient#Connect method.
|
![]() |
Stream |
Gets InputStream from socket connection established with server.
IpClient#Connect method must be invoked prior to invoking this method.
|
![]() |
Timeout |
The timeout for establishing a connection in ms.
|
Events
Name | Description | |
---|---|---|
![]() |
IpClientConnectedEvent |
Occurs after a successful connection to the server.
|
![]() |
IpClientDisconnectedEvent |
Occurs after connection to the server is released.
|