Restores the socket handle to an uninitialized state.
procedure Reset( const AResetLocal: boolean = True );
Reset is a procedure used to ensure that socket handle is in an uninitialized state.
When AResetLocal is True, the IP and Port properties are set to their uninitialized values. The IP address is an empty string. The port number is 0 (zero).
Reset sets the PeerIP and PeerPort properties to their uninitailized values as well. PeerIP is an empty string. PeerPort is 0 (zero).
IP and Port numbers (local and remote) for the socket descriptor are updated after calls to Bind, Connect, or Accept.
Reset is called from Create, AllocateSocket, and Accept.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|