help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes] Reference for unit 'lNet' (#LNet)

TLTcp.Connect

Connects to the other side

Declaration

Source position: lnet.pp line 386

public function TLTcp.Connect(

  const Address: String;

  const APort: Word

):Boolean; override;

Arguments

Address

  

The address to conenct to

APort

  

The port to connect on

Function result

Returns true on initial success. Connection result is reported via OnConnect event

Description

This method is used to open a TCP connection to a remote host.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505