http://bugs.winehq.org/show_bug.cgi?id=10137
Summary: WinSock ServerSocket Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P5 Component: test AssignedTo: wine-bugs@winehq.org ReportedBy: software@rel-tek.com
Hi,
I am trying to modify my windows program to run on Linux. After much trial and error, I got it to run for the most part, but one thing. My program communicates over TCP/IP (LAN) through Winsock. I've written Client and Server communication for my program that also handles socket errors. Part of that includes reconnection based on the socket error or exception handling. Anytime the sockets disconnect unexpectedly, for instance, by host or server program crashing or disconnecting, my program is supposed to trigger on the exception and try to reconnect. It works exactly the way I described it on the Window, but on Linux under Wine my program doesn't reconnect by handling the exception. Under wine my program acts like it never saw the socket error exception but when the program is started from scratch it works. But once the host is disconnected while client is connected, it doesn't handle the exception.
My program must handle these exceptions or it will not work right. Am I doing anything wrong or do I need to update wine?
Any suggestions?
Thanks in advance. Thaya,