MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / close

Method close

UDP/SocketForwarder.cpp:145–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145bool
146SocketDataWriter::close(void)
147{
148 bool ok = true;
149
150 if (this->fd != -1) {
151 ok = ::shutdown(this->fd, 2) == 0;
152 this->fd = -1;
153 }
154
155 return ok;
156}
157
158SocketDataWriter::~SocketDataWriter(void)
159{

Callers 2

~SocketDataWriterMethod · 0.95
closeTabWidgetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected