MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3 / socket_protect

Method socket_protect

javacli/OpenVPNClientThread.java:203–210  ·  view source on GitHub ↗
(int socket)

Source from the content-addressed store, hash-verified

201 // ClientAPI_OpenVPNClient (C++ class) overrides
202
203 @Override
204 public boolean socket_protect(int socket) {
205 EventReceiver p = parent;
206 if (p != null)
207 return p.socket_protect(socket);
208 else
209 return false;
210 }
211
212 @Override
213 public boolean pause_on_connection_timeout() {

Callers

nothing calls this directly

Calls 1

socket_protectMethod · 0.95

Tested by

no test coverage detected