Top "Setsockopt" questions

How to set TCP_NODELAY flag when loading URL with urllib2?

I am using urllib2 for loading web-page, my code is: httpRequest = urllib2.Request("http:/www....com") pageContent = urllib2.urlopen(httpRequest) …

python sockets urllib2 urlopen setsockopt
set socket option is why so important for a socket (IP_HDRINCL) In ICMP request?

I am new to socket programming I saw a ICMP request program , in that they used setsockopt to a socket …

c sockets kernel icmp setsockopt
Does Linux raw socket buffer size have upper limit of 256 K?

I am using following code in Centos to change raw socket buffer size to 400 KB, however I got same result …

c sockets buffer embedded-linux setsockopt
setsockopt (sys/socket.h)

The prototype for setsockopt is: int setsockopt(int socket, int level, int option_name, const void *option_value, socklen_t …

c prototype sockets setsockopt
Setting TCP receive window in C and working with tcpdump in Linux

I am running a Linux box running 2.6.9-55.ELsmp, x86_64. I am trying to set the TCP receive window by …

c linux tcp setsockopt tcpdump
Invalid argument in sendto when using interface name to set IP_MULTICAST_IF

I am writing a small program that sends and receive multicast packets.I need to set the outgoing interface with …

sockets multicast sendto setsockopt
Socket Programming C++ setsockopt()

I am new to socket programming. I am trying to write a basic socket programming program. I looked up the …

c++ sockets setsockopt
Attaching filter to raw sockets in Linux

That question is the next step of this. I changed my code to use AF_PACKET socket, but this time, …

c linux sockets network-programming setsockopt