Beef icon indicating copy to clipboard operation
Beef copied to clipboard

Replaced wsock32.lib with Ws2_32.lib to be coherent, ensure using the same WinSock2 library

Open tomwjerry opened this issue 4 months ago • 0 comments

I replaced some instances of wsock32.lib with Ws2_32.lib, so the code will be more coherent. I don't know if it makes any difference, but Ws2_32.lib should ensure that WinSock2 is used; else it might mix WinSock1 with WinSock2. There are some other externs to that probably should be marked with Ws2_32.lib instead of [CLink, CallingConvention(.Stdcall)] (native library?), to ensure usage of the same library. I have not changed it, because it appears to work right now.

tomwjerry avatar Aug 25 '25 04:08 tomwjerry