Internet Direct (Indy) Version 9.0.2 Beta
TIdSimpleServer.Bind
Allocates and binds the socket handle for the listener thread.

procedure Bind; virtual;
Description
Bind is a procedure used to allocate the socket handle for the listener thread, and bind the address specified in BoundIP and BoundPort.

ListenHandle will contain the handle for the Binding. If an exception occurs, ListenHandle is assigned the value Id_INVALID_SOCKET and the exception is raised.