fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
-
- Level 2
- Posts: 14
- Joined: Wed May 29, 2013 2:58 am
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
Hi all,
I have searched for my specific issue in the forums, but my error line appears in a lot of un-related issues so I have to ask this question more directly.
I have built a Qt project in windows XP sp3. I have a deployment that has the .exe and all the dlls it needs to run stand-alone on a windows PC.
But now I want to run it on linux 10.10 under wine v1.4 I have a slight issue.
When trying to bind to a UdpSocket (even on 127.0.0.1) I get the following error message:
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
Other then that everything else seems to work (xml, file access, logging, threads, etc…) and the program still continues to run.
Does anyone know what this means or how I can fix it?
Thanks,
Fodder
I have searched for my specific issue in the forums, but my error line appears in a lot of un-related issues so I have to ask this question more directly.
I have built a Qt project in windows XP sp3. I have a deployment that has the .exe and all the dlls it needs to run stand-alone on a windows PC.
But now I want to run it on linux 10.10 under wine v1.4 I have a slight issue.
When trying to bind to a UdpSocket (even on 127.0.0.1) I get the following error message:
fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
Other then that everything else seems to work (xml, file access, logging, threads, etc…) and the program still continues to run.
Does anyone know what this means or how I can fix it?
Thanks,
Fodder
Re: fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
Start by upgrading Wine to the latest development release; IP binding was introduced in 1.5.15. You might also want to read through this bug report: http://bugs.winehq.org/show_bug.cgi?id=33008.
-
- Level 2
- Posts: 14
- Joined: Wed May 29, 2013 2:58 am
Re: fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
Thanks for that. Unfortunately the device I am developing on has Ubuntu 10.10, and I can only go to wine 1.4. Ubuntu 10.10 is end of life 
Is there another way to upgrade? / get the bug fixes? / fix the bug?
I also have an app made in Ms Dev which does the same "binding" but not with Qt and that works!
Thanks

Is there another way to upgrade? / get the bug fixes? / fix the bug?
I also have an app made in Ms Dev which does the same "binding" but not with Qt and that works!
Thanks
Re: fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
You can build Wine yourself.
-
- Level 2
- Posts: 14
- Joined: Wed May 29, 2013 2:58 am
Re: fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
Ok, that may be a way forward.
But before I do this, can anyone tell me what this error really means, or where I can see more information about it?
"fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub"
If I see this, what has happened?
Thanks
But before I do this, can anyone tell me what this error really means, or where I can see more information about it?
"fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub"
If I see this, what has happened?
Thanks

-
- Level 2
- Posts: 14
- Joined: Wed May 29, 2013 2:58 am
Re: fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
Ok, after a LOT of mucking around I have determined that I need to run my windows .exe with root permission, and then it seems to work!
Basically I was not able to bind using a QUdpSocket->bind() function.
So I tried the same thing using Qt on Linux of course that works ok when I run it within Qt Creator, but when I start to run the output as a standalone application then it also fails to bind. By luck I ran my linux binary using sudo (as that often is the cause of not being able to do stuff) and it worked. But I never got the error message:
"fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub"
So is this a wine error message? I guess it must be from the title "winsock"?
So, when I want to run my app in wine I need to do it as super user, so I tried:
sudo wine ./myapp.exe
but I got the error that I do not own wine.
Finally I just logged in as the root (using su) and ran it and then it worked
But now I am really not sure which way to go! I have a package I can deliver, all I have to do is install wine 1.4 (or higher), but the user will need to run the app, via wine, as super user. How could this be solved if the user is not a super user?
Any further advice would be really appreciated
Thanks
Basically I was not able to bind using a QUdpSocket->bind() function.
So I tried the same thing using Qt on Linux of course that works ok when I run it within Qt Creator, but when I start to run the output as a standalone application then it also fails to bind. By luck I ran my linux binary using sudo (as that often is the cause of not being able to do stuff) and it worked. But I never got the error message:
"fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub"
So is this a wine error message? I guess it must be from the title "winsock"?
So, when I want to run my app in wine I need to do it as super user, so I tried:
sudo wine ./myapp.exe
but I got the error that I do not own wine.
Finally I just logged in as the root (using su) and ran it and then it worked

But now I am really not sure which way to go! I have a package I can deliver, all I have to do is install wine 1.4 (or higher), but the user will need to run the app, via wine, as super user. How could this be solved if the user is not a super user?
Any further advice would be really appreciated

Thanks
Re: fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
Wine should never be run as root. http://wiki.winehq.org/FAQ#run_as_root
-
- Level 2
- Posts: 14
- Joined: Wed May 29, 2013 2:58 am
Re: fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
Thanks for the link, I read through all the security settings stuff, but I really have no idea what security settings I need to change in order to allow my project to bind to IP addresses. Any ideas?
Thanks
Thanks
Re: fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
That's beyond my level of skill. It's also not really a Wine question; try asking on the Ubuntu forum.
-
- Level 2
- Posts: 14
- Joined: Wed May 29, 2013 2:58 am
Re: fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
Hi dimensio,
Thanks very much for your pointers
Infact I just solved the issue... it was me missing some trivial but important point about binding to certain IP addresses. I was trying to bind to IP port 10 which is in the special range of 0-1023 which require root access....
So this really is not a wine issue at all.... more a ...err... user issue = me!
Thanks again.
Thanks very much for your pointers

Infact I just solved the issue... it was me missing some trivial but important point about binding to certain IP addresses. I was trying to bind to IP port 10 which is in the special range of 0-1023 which require root access....

So this really is not a wine issue at all.... more a ...err... user issue = me!
Thanks again.