Click to See Complete Forum and Search --> : setsockopt()


sirisilla
04-09-2008, 06:19 AM
What are the arguments of setsockopt() and what is the importance?

goon12
04-11-2008, 09:17 AM
Sometimes you can just check the man pages for such answers. This machine I am on happens to have two man page entries for setsockopt (3p) and (2). One looks like it's from the POSIX Programmers (3p) manual and the other is from the Linux Programmers (2) manual.

Often times you can do the following to start looking for more information

[my_prompt]$ apropos setsockopt
setsockopt (3p) - set the socket options
setsockopt [getsockopt] (2) - get and set options on sockets
[my_prompt]$ man 3p setsockopt
[my_prompt]$ man 2 setsockopt



Thanks,
goon12