System.Net.Socket.TSocket.DoConnect
Delphi
procedure DoConnect; virtual;
C++
virtual void __fastcall DoConnect(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Net.Socket.pas System.Net.Socket.hpp |
System.Net.Socket | TSocket |
Description
Connects your socket to the remote IP address that you specified when you created your socket.
Exceptions
A call to DoConnect can raise any of the following exceptions:
Exception | Exception.Message | Scenarios |
---|---|---|
Network socket error: <error message> (<error code>), on API 'connect' |
|