mirror of
https://github.com/lxsang/ant-http
synced 2025-07-26 10:39:45 +02:00
support websocket frame fragments (binary data)
This commit is contained in:
@ -35,6 +35,7 @@ int request_socket(const char* ip, int port)
|
||||
perror("Socket");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (setsockopt (sockfd, SOL_SOCKET, SO_RCVTIMEO, &timeout,sizeof(timeout)) < 0)
|
||||
perror("setsockopt failed\n");
|
||||
|
||||
|
Reference in New Issue
Block a user