mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
We might be missing this in the past.
This commit is contained in:
parent
d86dc0bff6
commit
ff8b5d53f4
1 changed files with 2 additions and 0 deletions
|
@ -2171,6 +2171,8 @@ int initNetwork(SceNetAdhocctlAdhocId *adhoc_id){
|
|||
setSockNoDelay((int)metasocket, 1);
|
||||
// Switch to Nonblocking Behaviour
|
||||
changeBlockingMode((int)metasocket, 1);
|
||||
// Ignore SIGPIPE when supported (ie. BSD/MacOS)
|
||||
setSockNoSIGPIPE((int)metasocket, 1);
|
||||
|
||||
// If Server is at localhost Try to Bind socket to specific adapter before connecting to prevent 2nd instance being recognized as already existing 127.0.0.1 by AdhocServer
|
||||
// (may not works in WinXP/2003 for IPv4 due to "Weak End System" model)
|
||||
|
|
Loading…
Add table
Reference in a new issue