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



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

TLTcp.IterReset

Resets the socket iterator

Declaration

Source position: lnet.pp line 396

public procedure TLTcp.IterReset; override;

Description

This method is used to reset the socket iterator to the first socket. In case of client, this is the only socket. In case of server it now points to the listening server socket. You should use IterNext on server right after IterReset to get to the first connected socket! (the server one is just listening, for new connections)

Notes

 No notes exist for this page yet. 





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