System.Net.Socket.TSocket.DoBind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoBind; virtual;

C++

virtual void __fastcall DoBind();

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

ESocketError

Network socket error: <error message> (<error code>), on API 'bind'

See Also