Searched refs:linger_opt (Results 1 – 1 of 1) sorted by relevance
21 struct linger linger_opt; in main() local52 linger_opt.l_onoff=1; in main()53 linger_opt.l_linger=0; in main()54 setsockopt(sk, SOL_SOCKET, SO_LINGER, &linger_opt, sizeof(linger_opt)); in main()