Intercept net send message

  • Thread starter Thread starter Eka Gautama
  • Start date Start date
E

Eka Gautama

Hi all,

Is it possible to intercept net send message? I don't want windows show the
message to screen directly, but i want process first, then display to the
screen...

Thanks
 
Mmmm, that would be quite difficult I think. The NET SEND messages are
handled by the Messenger serivce (not the MSN Messenger!). I doubt if there
is way to let these messages be handled by custom code.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
 
The messenger service is just a service.
Presumably you could just turn off the microsoft service and substiture one
of your own. I guess that you'd have to figure out the format of the
incoming message but on something so simple that shouldn't be hard. A
google search should tell you which TCP/IP port to monitor to receive the
incoming messages.

chris



Jan Tielens said:
Mmmm, that would be quite difficult I think. The NET SEND messages are
handled by the Messenger serivce (not the MSN Messenger!). I doubt if there
is way to let these messages be handled by custom code.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan

The
 
The messenger service is just a service.
Presumably you could just turn off the microsoft service and substiture one
of your own. I guess that you'd have to figure out the format of the
incoming message but on something so simple that shouldn't be hard. A
google search should tell you which TCP/IP port to monitor to receive the
incoming messages.

chris
You need to use a mailslot.. \\computername\MAILSLOT\messngr

I couldn't find any C# examples, but here is one in C++, it may give
you some ideas:
http://www.codeproject.com/internet/fakesend.asp?print=true
 
Back
Top