WinSocket Error 10048

Hi,

I get this error when a restart a program immediately after program end.
When I wait for about 5 seconds between program end and restart the
error does not occur.
The program uses TServerSocket within a TDataModul.

I tried:
  delete SocketModul->ServerSocket;
  delete SocketModul;
it does not help.

How can I destroy/free the Socket object?

Martin

  martin.haemmerle.vcf
< 1K Download