I would like to write an application like a netstat - to show all the active connections and the open ports respectively. The problem is that I don\'t know how to do it - I\'ve done some network progr
When you read a closed TCP socket you get a regular error, i.e. it either returns 0 indicating EOF or -1 and an error code in errno which can be printed with perror.
While opening a TCP connection , the initial sequence number is to be derived using ToD clock that keeps running even when the host is down. The low order 32 bits of the counter of the ToD clock is to
I\'m trying to get a listing of machines in my local domain, specifically ones running a administrative web se开发者_StackOverflowrvice (_asip-webadmin). I\'ve been fooling with NSNetService but it wo
开发者_运维百科My webapp received a request from 10.18.255.249 (but the 10.0.0.0/9 cidr block is reserved) according to https://www.arin.net/knowledge/rfc/rfc1918.txt
I\'m faced with a following dilemma: Design a new network protocol which would be used between a server (Java software) and desktop and mobile clients. The mobile clients include J2ME, Android and ma
I\'m working with Microchip\'s TCP/IP stack and the host name of my device is not being broadcasted, although I c开发者_如何学运维an access it using its DHCP assigned IP.
Client close the socket first, when there is not much data from server, tcp connection shutdown is okay like:
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I am working on an very old application right now. I need to make change in this application to listen for coming icmp request and decide to reply or drop the packet (kind of access control on ICMP).