MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / IsInitialised

Method IsInitialised

pcsx2/DEV9/Sessions/ICMP_Session/ICMP_Session.cpp:169–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168
169 bool ICMP_Session::Ping::IsInitialised() const
170 {
171#ifdef _WIN32
172 return icmpFile != INVALID_HANDLE_VALUE;
173#else
174 switch (icmpConnectionKind)
175 {
176 case (PingType::ICMP):
177 case (PingType::RAW):
178 return icmpSocket != -1;
179 default:
180 return false;
181 }
182#endif
183 }
184
185 // Returned PingResult.data is only valid when PingResult.type is 0
186 ICMP_Session::PingResult* ICMP_Session::Ping::Recv()

Callers 1

SendMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected