whats the proper command to close the connection gracefully ? AG> [EMAIL PROTECTED] wrote: >> procedure TMailAlert.Pop3ClientRequestDone; >> begin >> if (FPop.connected) and (CheckError) then begin >> FPop.quit; >> exit; >> end; >> >> ... >> >> what could be the cause that the component is not ready after the >> error ?
AG> After sending command Quit you should receive a server response. AG> When it's received you may either close or abort the connection AG> yourself or wait until the server drops the connection. AG> Anyway start next connection attempt only when you are not connected, AG> means after SessionClosed fired. AG> -- AG> Arno Garrels -- Mit freundlichen Grüßen [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be