setsockopt
Join multicast group on DatagramSocket?
I want to receive network data multicasted by another application on an AIR UDP socket (DatagramSocket).[详细]
2023-03-11 04:51 分类:问答TCP_NODELAY not found on Ubuntu
I am trying to disable the Nagle\'s Algorithm with my TCP sockets on an Ubuntu Linux box by setting the TCP_NODELAY parameter.For some reason, this constant is not defined in <sys/types.h> or &l[详细]
2023-02-25 16:37 分类:问答What is the meaning of SO_REUSEADDR (setsockopt option) - Linux? [duplicate]
This question already has answers here: How do SO_REUSEADDR and SO_REUSEPORT differ? (2 answers) Closed 9 years 开发者_如何学JAVAago.[详细]
2023-01-07 07:54 分类:问答Error "No such device" in call setsockopt when joining multicast group
I have a code in which send multicast datagrams. A critical piece of code: uint32_t port; int sockfd, err_ip;[详细]
2023-01-06 09:08 分类:问答How do I re-bind a socket in MacOSX/Ubuntu? A second time
I have the following code: if ( ( m_mainSocket = ::socket( PF_INET, SOCK_STREAM, IPPROTO_TCP ) ) < 0 )[详细]
2022-12-19 12:10 分类:问答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 using the setsockopt() function using C. I try the following:[详细]
2022-12-19 07:46 分类:问答