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

Class linger

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

Source from the content-addressed store, hash-verified

948#ifdef USE_SCTP
949 if (ss_transport == T_SCTP && !gracefulclose) {
950 struct linger ling = {1, 0};
951 if (setsockopt(ss_fd, SOL_SOCKET, SO_LINGER, &ling, sizeof(ling)) < 0) {
952 WARNING("Unable to set SO_LINGER option for SCTP close");
953 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected