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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Port Monitorig?

Status
Not open for further replies.

dustbuster

Programmer
Joined
Dec 19, 2002
Messages
95
I need a program that will
- monitor a certain port
- parse the content of the transmission
- Pop up a window or notification with a message
- log the IP and the message

Can this be done?
 
in short yes.

have a look into the winsock2.h header file

that basicaly covers
- monitor a certain port
- parse the content of the transmission

for logging to file, well theres lots of different ways for that (basic file handling/streams etc)
- log the IP and the message

and again plenty of ways to do
- Pop up a window or notification with a message

If somethings hard to do, its not worth doing - Homer Simpson
 
Ok. I'll look into the header file. The reading/parsing the port transmission was the biggie.

Do you know how I can create one of those fancy notification windows that come up from the task bar. MSN uses them. Or is that a VB thing?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top