02-27-2008 05:01 AM
02-28-2008 01:58 PM
02-28-2008 02:44 PM
03-01-2008 12:58 AM
wimpie,
Thanks for the tip re: adding/monitoring "handles" column of task-manager!
Cheers.
05-19-2008 03:13 AM
Well, thanks for the library!
@m3nth wrote:
There have been several posts (including one from myself 🙂 requesting code to perform a network ping. Shelling out to the OS simply wouldn't work for me so this code uses raw sockets in Win2k to perform an ICMP ping and get the echo reply back. This code is limited and simple but it could easily be modified--it has worked well for me to monitor the status of network communications. Enjoy.
04-13-2009 10:09 PM
04-14-2009 02:55 AM
No the winsock API is not able to work in promiscious mode AFAIK. For that you need a low level packet driver such as winpcap and there have been people working on some LabVIEW VIs to access that driver. However from what I gathered to be able to do a real fully fledged packet sniffer there are still some substantial Vis missing and the application on top of that to make it user friendly would be a major project in itself. Wouldn't see why to do that instead of using Wireshark or some other commercial network analyzer software.
Rolf Kalbermatter
04-14-2009 05:37 AM
Might want to look at a hardware solution for sniffing. Look at the Aggregator taps here. http://www.vssmonitoring.com/products/a_taps.asp
I've also seen some software from Fluke Networks that will monitor a tap. I think it was called Optiview. http://www.flukenetworks.com/fnet/en-us/products/OptiView+Protocol+Expert/Overview.htm
04-14-2009 04:56 PM
I thought I read in the MSDN.net that one can place Winsock in promiscuous mode per MSDN stuff. It looks like the WSAIoctl function can control the promiscuous mode.
http://msdn.microsoft.com/en-us/library/ms741621(VS.85).aspx
There is a section in the above link that describes how to set Winsock to promiscuous mode.
Enables a socket to receive all IPv4 or IPv6 packets on the network.
05-15-2009 06:16 AM
Well, nice library.
I tried it on Vista32/LV82 and it does not work.
*SOCKET create.vi* make always *INVALID_SOCKET* Error.
If I know how to fix, I will report here.