Code: Select all
setsockopt(client_sock, SOL_SOCKET, SO_LINGER, (char*)&val, sizeof(int))
Code: Select all
setsockopt(client_sock, SOL_SOCKET, SO_LINGER, (char*)&val, sizeof(int))
Users browsing this forum: Baidu [Spider], Majestic-12 [Bot] and 92 guests