MCPcopy Create free account
hub / github.com/antonioCoco/RogueWinRM / SocketError

Function SocketError

RogueWinRM.cpp:238–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238void SocketError(SOCKET Socket) {
239 printf("\nSocket error.. WSAGetLastError: %d\n", WSAGetLastError());
240 shutdown(Socket, SD_SEND);
241 WSACleanup();
242 exit(-1);
243}
244
245void startListener(LPVOID threadParameters) {
246 THREAD_PARAMETERS* thread_params = (THREAD_PARAMETERS*)threadParameters;

Callers 1

startListenerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected