MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / Clear

Method Clear

Src/Event.cpp:70–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70int CEvent::Clear()
71{
72 if(INVALID_SOCKET != fd[0]) {
73 close(fd[0]);
74 fd[0] = INVALID_SOCKET;
75 }
76
77 if(INVALID_SOCKET != fd[1]) {
78 close(fd[1]);
79 fd[1] = INVALID_SOCKET;
80 }
81 return 0;
82}
83
84int CEvent::Reset()
85{

Callers 1

AcceptMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected