[Bug 10137] New: WinSock ServerSocket
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(a)winehq.org ReportedBy: software(a)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, -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10137 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal Component|test |wine-net --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2007-10-22 09:41:17 --- What Wine version? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10137 --- Comment #2 from Thaya <software(a)rel-tek.com> 2007-10-22 13:56:32 --- We have 0.9.33 wine. The error message I am getting is "Window socket error 10057 API 'getpeername'". Thanks for your help. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10137 --- Comment #3 from Kai Blin <blin(a)gmx.net> 2007-10-22 14:04:28 --- Can you try and create a basic test program that shows the problem you're having? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10137 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dank(a)kegel.com --- Comment #4 from Dan Kegel <dank(a)kegel.com> 2007-10-22 17:47:15 --- Please attach a small test program with source code so we can see the problem in action. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10137 --- Comment #5 from Austin English <austinenglish(a)gmail.com> 2007-10-23 13:51:14 --- Thaya, please respond in bugzilla, not by e-mail.
From e-mail:
Hi, I attached a test program and source file for the program. Start the program and connect the program with any program on another machine through LAN by simply supplying the HOST IP address and Host port number. First, choose client. Once you make the connection, status bar will say it is connected. Once connected, this program pings the server or the host every 5 second. If it fails, then the program will try to reconnect. At this point, you should see in the status bar, "unable to connect." You can make this happen by stopping or disconnecting the server. When the program is trying to reconnect under wine, the program raises exception of error 10057 'getpeername'. This exception is being handled but still the error message box is displayed. Thank, Thaya, -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10137 --- Comment #6 from Thaya <software(a)rel-tek.com> 2007-10-23 13:59:13 --- Created an attachment (id=8730) --> (http://bugs.winehq.org/attachment.cgi?id=8730) executible file -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10137 --- Comment #7 from Thaya <software(a)rel-tek.com> 2007-10-23 13:59:58 --- Created an attachment (id=8731) --> (http://bugs.winehq.org/attachment.cgi?id=8731) source file -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10137 --- Comment #8 from Thaya <software(a)rel-tek.com> 2007-10-23 14:00:38 --- Hi, I attached a test program and source file for the program. Start the program and connect the program with any program on another machine through LAN by simply supplying the HOST IP address and Host port number. First, choose client. Once you make the connection, status bar will say it is connected. Once connected, this program pings the server or the host every 5 second. If it fails, then the program will try to reconnect. At this point, you should see in the status bar, "unable to connect." You can make this happen by stopping or disconnecting the server. When the program is trying to reconnect under wine, the program raises exception of error 10057 'getpeername'. This exception is being handled but still the error message box is displayed. Thank, Thaya, -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10137 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, testcase --- Comment #9 from Austin English <austinenglish(a)gmail.com> 2008-04-24 06:47:19 --- Is this still an issue in current (0.9.60 or newer) wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10137 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #10 from Austin English <austinenglish(a)gmail.com> 2008-12-05 14:42:43 --- Works fine in 1.1.10. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=10137 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #11 from Alexandre Julliard <julliard(a)winehq.org> 2008-12-20 09:03:12 --- Closing bugs fixed in 1.1.11. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org