ZDOOM "Could not create socket : EINVAL"

Mon Apr 10, 2017 7:51 pm

When trying to connect two computers, after succesfully connecting, the zdoom launch console creates an error that says,
"Could not create socket : EINVAL"
To clarify, both computers enter the zdoom launcher and start to go through the launch process, but then the error occurs.
Is this something with the computer or internet? Any help would be appreciated.

Re: ZDOOM "Could not create socket : EINVAL"

Mon Apr 10, 2017 10:09 pm

What version of ZDoom is being run? Which OS are you using? How is the game being launched?

Re: ZDOOM "Could not create socket : EINVAL"

Wed Apr 12, 2017 6:10 pm

OS: Windows 7 (NT 6.1) Build 7601
Service Pack 1
M_LoadDefaults: Load system defaults.
Using program directory for storage
Gameinfo scan took 0 ms
W_Init: Init WADfiles.
adding H:/DOOM/zDOOM/zdoom.pk3, 584 lumps
adding H:/DOOM/zDOOM/doom.wad, 2306 lumps
I_Init: Setting up machine state.
CPU Speed: 1496 MHz
CPU Vendor ID: GenuineIntel
Name: Intel(R) Atom(TM) CPU N550 @ 1.50GHz
Family 6, Model 28, Stepping 10
I_InitSound: Initializing FMOD
FMOD Sound System, copyright © Firelight Technologies Pty, Ltd., 1994-2009.
Loaded FMOD version 4.36.23
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading default status bar definition.
ParseSBarInfo: Loading custom status bar definition.
D_CheckNetGame: Checking network game status.

Execution could not continue.

can't create socket: EINVAL

Running zdoom 2.8.1 with cmd.

Re: ZDOOM "Could not create socket : EINVAL"

Thu Apr 13, 2017 2:41 am

EINVAL means "error: invalid argument".
Here's the function which prints this error message:
// UDPsocket
SOCKET UDPsocket (void)
   SOCKET s;
   // allocate a socket
   if (s == INVALID_SOCKET)
      I_FatalError ("can't create socket: %s", neterror ());

   return s;

This is the extent of the help I can provide. For some reason your system doesn't support creating the type of socket that ZDoom wants to make.