Archived Forum Post

Index of archived forum posts

Question:

How to create socket to monitor internet traffic?

Dec 17 '15 at 06:36

Is there a way to have a socket to monitor an existing internet stream from a remote site? For example, monitor port 80 (http) for traffic from a given site (ex xxx.xxx.xxx.xxx). I'm not interested in reading the traffic, only in whether the site is 'live' and sending info.

The examples show the socket method bSocketSet = mySocket.AsyncConnectStart(remoteHost, remotePort, useSsl, maxWaitMillisec) to create a new create a new connection and read info from the new socket. However pinging a site every second is certainly a bad idea.

Any help would be appreciated.


Answer

This is not something that can be done using the Chilkat Socket API.