Clears information already entered for the SNPP connection.
procedure Reset;
Reset is a procedure used to clear any information already entered for the SNPP connection. Reset returns the connection to the state that immediately follows a call to the Connect method. Reset is provided, primarily, as a means to reset accidentally entered information for the session.
Reset sends the SNPP RESET command by calling WriteLn for the client connection.
Possible responses from the SNPP server, with suggested text, in response to a RESET include:
Code |
Message |
250 |
RESET OK |
421 |
Too Many Errors, Goodbye (terminate connection) |
421 |
Gateway Service Unavailable (terminate connection) |
Please note that in this version of TIdSNPP, Reset does not examine or capture server responses automatically. Use GetResponse to read and verify server response.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |