Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error opening socket: No error #91

Open
Jookia opened this issue Dec 23, 2017 · 0 comments
Open

Error opening socket: No error #91

Jookia opened this issue Dec 23, 2017 · 0 comments

Comments

@Jookia
Copy link

Jookia commented Dec 23, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant