CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2005
    Posts
    4

    How to get IP address,username, file..etc of connected client....

    Dear folks,

    Assuming that I have a shared folder on server, I want to capture some information of a client such as IP address, username, filenames that client is used to connect to that shared folder.

    How can I do that? or Do you have any suggestion?
    Please help me asap.

    Thanks a lot,
    Wall

  2. #2
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

    Re: How to get IP address,username, file..etc of connected client....

    [ Redirected thread ]

  3. #3
    Join Date
    Nov 2002
    Location
    California
    Posts
    4,556

    Re: How to get IP address,username, file..etc of connected client....

    IP address can be obtained with GetPeerName. I don't know about the rest.

    Mike

  4. #4
    Join Date
    Jun 2005
    Posts
    4

    Re: How to get IP address,username, file..etc of connected client....

    Quote Originally Posted by MikeAThon
    IP address can be obtained with GetPeerName. I don't know about the rest.

    Mike
    Thanks, but it's not the solution....

    Anybody knows anything else?
    Help me plzzzzzz

  5. #5
    Join Date
    Mar 2002
    Posts
    18

    Re: How to get IP address,username, file..etc of connected client....

    may be a suggestion for u:
    Using sniffer and analyze information in packets stream.
    some open sources, using winpcap to capture packets:
    - ethereal
    - Winsniff sample: http://www.codeproject.com/internet/WinSniff.asp

    hope it helps.

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

Featured