Internet Direct (Indy) Version 9.0.2 Beta
|
function Connect(const AFamily: Integer): Integer; virtual;
Connect uses IP and Port, and the parameter AFamily, to call the Connect facilities of the protocol stack. When Connect has successfully completed, the socket will be ready to send and receive data using Send, SendTo, Recv, and RecvFrom.
Use Readable, any time following a successful Connect, to determine if the socket is in a valid input/output state.