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