Establishes a connection to a remote device.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Sub Connect ( _ remoteEP As EndPoint _ ) |
C# |
---|
void Connect( EndPoint remoteEP ) |
Parameters
- remoteEP
- Type: System.Net..::..EndPoint
An IPEndPoint that represents the remote device.
Remarks
The Connect method establishes a network connection to a device identified by the remoteEP
parameter. Once the connection has been made, you can send data to the remote device with
the Send method, or receive data from the remote device with the Receive method.