-
If you have a port 1234 and this port is used by an application which sends data over the net, how could you listen on this port, to receive this data?
I've made an application which containes 2 chat parties.
I want to monitor the traffic, which is running, when I write something and send it to the other one.
This is important because the sent information should be logged to a logfile.
Do you have any suggestions for this?
thx, vbzero
-
So you want to be in the middle of the conversation, logging it, while two other people are talking?
-
Yes, this is what I want, but this should depend on my defined port in the chat application. (In this case 1234)
-
The only way you would be able to do this, I think, is to have each user log on to a server, then have all the text go through the server. Don't ask me how to do this though... I was just gonna suggest Winsock1.Listen on port 1234.