Create setsocketopt.c

set socket options in C for tcp sockets.