Delphi.NET Socket BeginSend callback never get called

264 Views Asked by At

Recently, i found my application, which's developped under Delphi.NET, the socket callback function never get called, causing the socket message cannot be sent to the target client.

Is it possible a bug of the socket class in Delphi.NET? Or will it be relative to the Anti Virus software, or something else? Since this problem only happen in some workstation, but not all my testing environment.

Thank you.

2

There are 2 best solutions below

0
On BEST ANSWER

Finally, i've got the answer, it's just because .NET Framework 1.1 hasn't been installed in the workstation, once installed, all goes fine

1
On

You're highly likely sending it to the wrong endpoint. Make sure your socket is connected before sending messages.

Until we see some code we're unable to help you any further.