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

Method associate_socket

src/socketowner.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48socket_owner_map_map socket_to_owners;
49
50SIPpSocket *socketowner::associate_socket(SIPpSocket *socket) {
51 if (socket) {
52 this->call_socket = socket;
53 add_owner_to_socket(socket);
54 }
55 return socket;
56}
57
58SIPpSocket *socketowner::dissociate_socket() {
59 SIPpSocket *ret = this->call_socket;

Callers 2

runMethod · 0.80
process_messageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected