Starts connecting to remote end point.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public bool ConnectAsync( TCP_Client..::..ConnectAsyncOP op )
Public Function ConnectAsync ( op As TCP_Client..::..ConnectAsyncOP ) As Boolean
public: bool ConnectAsync( TCP_Client..::..ConnectAsyncOP^ op )
member ConnectAsync : op : TCP_Client..::..ConnectAsyncOP -> bool
Parameters
- op (TCP_Client..::..ConnectAsyncOP)
- Asynchronous operation.
Return Value
Boolean
Returns true if aynchronous operation is pending (The CompletedAsync event is raised upon completion of the operation). Returns false if operation completed synchronously.
Returns true if aynchronous operation is pending (The CompletedAsync event is raised upon completion of the operation). Returns false if operation completed synchronously.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed. |
ArgumentNullException | Is raised when op is null reference. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119