PDA

Click to See Complete Forum and Search --> : Capture other Messenger's messages?


farrukh
Jul 19th, 2006, 06:31 AM
Hi,
I am very new to Network programming. My task is to capture messages from the port of another messenger presently working in our LAN, which is not a Server-Client based.
Presently, it is using port 4000 for messages. I need to develop another application (I'm gonna use Vb.Net) which would be able to communite with this existing Messenger as well as working on its own..

Please suggest some code / methods /ideas, would be really appreciated.

Thanks
Farrukh

Tommy101
Jul 19th, 2006, 07:44 AM
you need to understand the program's Message protocol.

There are basically two ways in doing this:

1. If the Messenger Protocol is freeware or is opensource then you should have no problem in finding the documentation on the protocol...

2. Otherwise you can monitor the packets being send to and from two devices and then make a program from what you have learned. Although this way is more time consuming and difficult its better because then you really understand the Protocol...


Raw Winsock Packet Sniffer (freeware):
http://www.softpedia.com/get/Network-Tools/Protocol-Analyzers-Sniffers/IP-Sniffer.shtml

farrukh
Jul 20th, 2006, 12:14 AM
you need to understand the program's Message protocol.

There are basically two ways in doing this:

1. If the Messenger Protocol is freeware or is opensource then you should have no problem in finding the documentation on the protocol...

2. Otherwise you can monitor the packets being send to and from two devices and then make a program from what you have learned. Although this way is more time consuming and difficult its better because then you really understand the Protocol...


Raw Winsock Packet Sniffer (freeware):
http://www.softpedia.com/get/Network-Tools/Protocol-Analyzers-Sniffers/IP-Sniffer.shtml

Thanks a lot Tommy for such a useful information :)
I am looking into this.

If there is any code examples, kindly let me know.

thanks
Farrukh