A little problem about an idea, help please

This is a discussion on A little problem about an idea, help please within the C++ Programming forums, part of the General Programming Boards category; Hello there, Thank you for taking the time to read this, i H ave a problem about a program I ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    66

    Post A little problem about an idea, help please

    Hello there, Thank you for taking the time to read this, i H ave a problem about a program I have to make for school and I have no Idea on how to do it, so any help could come useful:

    I have to make a program to get the IP direction of someone who is either sending me or receiving a file from me, for example if I am connected to Imesh, the program should track all directions of the people who are sending files to me and receiving files, ad to display them on screen.

    I actually am in real trouble about that, because I have no Idea on how to track someone by the packs that are being sent, so if someone ther could help me I would be truly thankful

    thank you

  2. #2
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    well you could be cheap and go

    Code:
    system("netstat");


    EDIT: I do not actually suggest this,
    Is this a Win32 program?
    What is C++?

  3. #3
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    Well I don't know about writing this, but you could always download a packet sniffer like ethereal. I'm not entirely sure why you need to do this anyway though...

    Edit: Oh sorry I didn't see that you had to make it. My bad

    I can't really help you here, except to suggest looking at the resources on the network programming board
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  4. #4
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Well depending on the platform, there might be api functions that you can use.
    What is C++?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 11-07-2005, 10:34 PM
  2. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 01:04 AM
  3. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM
  4. IDEA: Problem Solving Contests
    By ygfperson in forum Contests Board
    Replies: 8
    Last Post: 10-19-2002, 08:38 PM
  5. binary tree problem - help needed
    By sanju in forum C Programming
    Replies: 4
    Last Post: 10-16-2002, 05:18 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21