[Bug 26031] µTorrent loses the ability of listening to incoming connections

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 8 10:29:06 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=26031

--- Comment #36 from Bruno Jesus <00cpxxx at gmail.com> 2012-08-08 10:29:06 CDT ---
Artem, remove the example usage, force TCP and stop parsing argv values to
reduce the program size. Switch:

#define WIN32_LEAN_AND_MEAN
#include <winsock2.h>

To

#include <sys/ioctl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/time.h>
#include <fcntl.h>

Change:
closecoket

To:
close

And remove WSAStartup. Then compile in linux gcc.

-- 
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.



More information about the wine-bugs mailing list