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], Google [Bot] and 127 guests