Skip to content

Instantly share code, notes, and snippets.

@rdp
Created December 31, 2013 15:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdp/8198697 to your computer and use it in GitHub Desktop.
Save rdp/8198697 to your computer and use it in GitHub Desktop.
int rcvBufferSize;
int sockOptSize = sizeof(rcvBufferSize);
getsockopt(udp_fd, SOL_SOCKET, SO_RCVBUF, &rcvBufferSize, &sockOptSize);
printf("initial socket receive buf %d\n", rcvBufferSize);
@vmanikes
Copy link

Nice

@zhao-jin
Copy link

zhao-jin commented Jun 9, 2023

hhh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment