Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js
Date: 1/31/2018 @ 2 p.m. ET
Here is one more ping utility with a graphical representation of the response time. It can be used on the Microsoft Windows platforms. It is also a usual ping technique, but it has nice code (I think) that draws a graph. The source code that's provided uses MFC and needs to be compiled with VC++6.
It allows the user to test the reachability of another host in the network, and also to know about the response time and the integrity of data sent. The user can know the performance of the remote IP device and the network speed.
VC++ MFC is used to create this software, using an object-oriented coding approach. The "PING" technique is used to verify the network connections and get the performance results.
PING stands for Packet INternet Groper and provides a connectionless verification of the availability of a remote IP device. PING uses ICMP Echo and Echo Reply protocol data units, encapsulated within IP datagrams.
Follow these steps to use the program:
- Create a Raw socket with control message protocol.
- Send an ICMP header with an ICMP request and optional data packets to the desired host. The host replies as it sends back the data packets, ICMP header, and additional IP Header.
- Before sending the ICMP request data packets, we should fill the checksum field with the checksum value of data packets, inclusive of the ICMP header. We can know the elapsed time by sending the current timer value with the data packet. This same data packet will be sent back by the host. We can know the elapsed time by comparing the sent time with the current time while receiving.
- Verify the data integrity by verifying the checksum field of ICMP header.
- Raw sockets are connectionless sockets, so we have to use synchronized methods of the "sento" and "recvefrom" APIs.
- In the ICMP protocol, sockets are not connected with any Port number of receiving host because as an ICMP protocol, no "bind" and "accept" concepts are at the receiving end.
DownloadsDownload documentation - 5 Kb
Download source - 56 Kb