ProxySocketBeginConnect(String, Int32, AsyncCallback, Object) Method
|
Begins an asynchronous request for a connection to a network device.
Namespace: mtapi.mt5Assembly: mt5api (in mt5api.dll) Version: 5.3677.1.2
Syntax public IAsyncResult BeginConnect(
string host,
int port,
AsyncCallback callback,
Object state
)
Public Function BeginConnect (
host As String,
port As Integer,
callback As AsyncCallback,
state As Object
) As IAsyncResult
public:
IAsyncResult^ BeginConnect(
String^ host,
int port,
AsyncCallback^ callback,
Object^ state
)
member BeginConnect :
host : string *
port : int *
callback : AsyncCallback *
state : Object -> IAsyncResult
Parameters
- host String
- The host to connect to.
- port Int32
- The port on the remote host to connect to.
- callback AsyncCallback
- The AsyncCallback delegate.
- state Object
- An object that contains state information for this request.
Return Value
IAsyncResultAn IAsyncResult that references the asynchronous connection.
Exceptions See Also