MCPcopy Create free account
hub / github.com/SIPp/sipp / close

Method close

src/socket.cpp:1030–1039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1028}
1029
1030void SIPpSocket::close()
1031{
1032 int count = --ss_count;
1033
1034 if (count == 0) {
1035 invalidate();
1036 sockets_pending_reset.erase(this);
1037 delete this;
1038 }
1039}
1040
1041ssize_t SIPpSocket::read_message(char *buf, size_t len, struct sockaddr_storage *src)
1042{

Callers 11

~socketownerMethod · 0.80
~CStatMethod · 0.80
~callMethod · 0.80
executeActionMethod · 0.80
traffic_threadFunction · 0.80
handle_stdin_socketFunction · 0.80
socket.cppFile · 0.80
read_errorMethod · 0.80
open_connectionsFunction · 0.80
close_peer_socketsFunction · 0.80
close_local_socketsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected