The compilation failed when trying to compile in WSL env.
Create a static library (try windows, then unix)
lib.exe /out:uSockets.a *.o || ar rvs uSockets.a *.o
Microsoft (R) Library Manager Version 14.40.33811.0
Copyright (C) Microsoft Corporation. All rights reserved.
bsd.o : fatal error LNK1107: invalid or corrupt file: cannot read at 0x4EF8
If I remove the 'try windows' everything works fine.