Hi Bjarne,
The code you suggest is precisely what I do. The problem is that the
Send completes before sending is complete -- it returns once the message
has been loaded into the outgoing buffer. And the disconnect also
completes successfully before the outgoing buffer has actually
transmitted its contents over the internet.
So ... my problem is ... How do I know when the transmission is actually
complete, and it is safe to end the program?
Thanks,
Rainer
_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi