gambatte-libretro icon indicating copy to clipboard operation
gambatte-libretro copied to clipboard

Error opening socket: No error

Open Jookia opened this issue 6 years ago • 0 comments

Gambatte currently fails to create sockets on my friend's Windows machine because the socket checking code checks if fds are negative. On Windows, fds can be negative so you have to check if it's INVALID_SOCKET.

http://www.sockets.com/winsock.htm#Deviation_DataType https://github.com/libretro/gambatte-libretro/blob/master/libgambatte/libretro/net_serial.cpp#L116

I'm unsure how much other code is hit by this error.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Jookia avatar Dec 23 '17 18:12 Jookia