Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Communiqué

Post new topic   Reply to topic
Network Monitoring - Sockets in VB
View previous topic :: View next topic  
Author Message
dougthomas
Moderator


Joined: 27 Jul 2005
Posts: 271
Location: Essex, UK

PostPosted: Sep 3rd, 2005 05:58 AM    Post subject: Network Monitoring - Sockets in VB Reply with quote

Hi all,

Any Networking Gurus out there?

I've been having a few problems with my LAN so downloaded a trial version of a Sniffer to see what was going on. I've basically got a 7 PC Infrastructure Network (3 - XP, 2 - 98 SE, 1 - ME and 1 Windows2000) with one of the XP machines acting as the Internet Gateway. 6 of the PCs are Wireless connected and the Gateway machine is connected to the Wireless Ethernet controller by a 100mbs wire.

On running the Sniffer from the Gateway machine, I noticed that each LAN packet was being sent and received twice which is puzzling me. On the grounds that the trial version Sniffer was time limited I set about writing my own (using promiscous sockets in VB6) and having done that I am still seeing all the packets duplicated. I can't see anyway in which I am just reporting them twice as I am event driven by the Socket (if anything, I would expect to miss packets!)
My question is basically, is that "normal"? I am trying to rationalise it by thinking that I am taking a packet off the network which isn't addressed to me so perhaps I'm putting it back on which would show up as two packets.
It seems to be irrespective of protocol (I'm monitoring IP, TCP, ICMP and UDP) Or is there a "feature" of Sockets that I have missed.

Any insights would be gratefully received.

Regards
Doug

PS I found the problem with the LAN, one of my Cats had disturbed the power lead which was causing electrical noise and making the Ethernet controller go on and off line !! (Perhaps I should have used CAT 5 wiring !!!!)
Back to top
View user's profile Send private message
book621
Newbie


Joined: 11 Nov 2005
Posts: 6

PostPosted: Nov 11th, 2005 08:09 PM    Post subject: Best thing Reply with quote

If this is true - its the best thing ever! Biggrin
_________________
[new user link] [new user link]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Communiqué All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic