MCPcopy Create free account
hub / github.com/apache/trafficserver / close

Method close

include/shared/rpc/IPCSocketClient.h:72–79  ·  view source on GitHub ↗

Close the socket.

Source from the content-addressed store, hash-verified

70
71 /// Close the socket.
72 void
73 close()
74 {
75 if (_sock > 0) {
76 ::close(_sock);
77 _sock = -1;
78 }
79 }
80
81 /// Test if the socket was closed or it wasn't initialized.
82 bool

Callers 2

connectMethod · 0.95
disconnectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected