0

How can I set the socket buffer size for a UNIX socket file descriptor in C? I understand setsockopt is probably the system call involved... Can anyone give an example of how to use it, the one's I have found do not explain how to set the buffer size?

tsar2512
  • 2,826
  • 3
  • 33
  • 61

1 Answers1

0

On Ubuntu 14.04 Linux check out man 7 socket, and specifically look at SO_RCVBUF and SO_SNDBUF.

TonyB
  • 927
  • 6
  • 13