Is it ok close two sockets like this?
The compiler telling me that the second one has no effect.
or the standard way:Code:closesocket(client), (server);
Code:closesocket(client); closesocket(server);
Is it ok close two sockets like this?
The compiler telling me that the second one has no effect.
or the standard way:Code:closesocket(client), (server);
Code:closesocket(client); closesocket(server);
Using Windows 10 with Code Blocks and MingW.
So we cannot close two sockets with one function.
Thank you!
Using Windows 10 with Code Blocks and MingW.