Close just those calls for a given socket (e.g., if the remote end closes * the connection. */
| 2292 | /* Close just those calls for a given socket (e.g., if the remote end closes |
| 2293 | * the connection. */ |
| 2294 | void SIPpSocket::close_calls() |
| 2295 | { |
| 2296 | owner_list *owners = get_owners_for_socket(this); |
| 2297 | owner_list::iterator owner_it; |
| 2298 | socketowner *owner_ptr = nullptr; |
| 2299 | |
| 2300 | for (owner_it = owners->begin(); owner_it != owners->end(); owner_it++) { |
| 2301 | owner_ptr = *owner_it; |
| 2302 | if (owner_ptr) { |
| 2303 | owner_ptr->tcpClose(); |
| 2304 | } |
| 2305 | } |
| 2306 | |
| 2307 | delete owners; |
| 2308 | } |
| 2309 | |
| 2310 | int open_connections() |
| 2311 | { |
nothing calls this directly
no test coverage detected