Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Intercepting net send messages using VB..

Status
Not open for further replies.

ashvn

Programmer
Mar 21, 2001
33
MU
Hi again!!

I just wanted to know if there's any way of 'capturing' messages sent to a computer via net send by using VB.

Thanks!
: )
 
You want to capture all messages that are desginated for any computer using the NetSend Function via VB or you want to be able to capture them for a specific computer running a VB app?
 
I've also been looking to do just this for specific computer running a VB app.
 
I want to capture a msg sent to a computer called, say, X, ON that same computer X. Any way of doing that?
 
Ashvn,

Are you attempting to intercept messages sent via the Windows messenger, ie. Net Send?

If that's the case, it can be done. You'll need to know the port(s) these message will be using.

Using your favorite search engine, such as Yahoo or Google, search for Windows Messenger Service Ports and/or search for NET SEND Ports.

Off hand, I don't recall which ports the messages are on.... next, download Catalyst's Socket Wrench control. It's free. This component gives you access to nearly the full spectrum of TCP/IP / UDP / Sockets.

That's a starting point.



[fish] No Dolphins were harmed in the posting of this message... Dolphin Friendly Tuna!
 
TheTuna
Whould this advice stand should the connection be via UTP rather than ports?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top