mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Oups.
This commit is contained in:
parent
dcc3921682
commit
e6d14d1dad
|
@ -79,7 +79,7 @@ int init_networking(IP ip ,uint16_t port)
|
|||
sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
||||
|
||||
//Functions to increase the size of the send and recieve UDP buffers
|
||||
//NOTE: uncomment if nn
|
||||
//NOTE: uncomment if necessary
|
||||
/*
|
||||
int n = 1024 * 1024 * 2;
|
||||
if(setsockopt(sock, SOL_SOCKET, SO_RCVBUF, (char*)&n, sizeof(n)) == -1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user