Results 1 to 4 of 4

Thread: Port traffic - how to?

  1. #1

    Thread Starter
    Hyperactive Member vbzero's Avatar
    Join Date
    Aug 2000
    Location
    Vienna
    Posts
    347

    Question

    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

  2. #2
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    So you want to be in the middle of the conversation, logging it, while two other people are talking?
    <removed by admin>

  3. #3

    Thread Starter
    Hyperactive Member vbzero's Avatar
    Join Date
    Aug 2000
    Location
    Vienna
    Posts
    347

    Arrow

    Yes, this is what I want, but this should depend on my defined port in the chat application. (In this case 1234)

  4. #4
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    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.
    <removed by admin>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width