Results 1 to 3 of 3

Thread: GetRemoteAddress

  1. #1

    Thread Starter
    Hyperactive Member gravyboy's Avatar
    Join Date
    Jan 2000
    Location
    Where I was before . . . if you don't know then you're new!
    Posts
    334

    GetRemoteAddress

    I am pretty certain that this is a valid api call - I can't find the declaration anywhere though. My version of MSDN keeps referring to .NET Framework.

    Can anyone help?
    Matt G
    VS6 Ent SP5 @ Work
    VS6 Ent SP5 & VB.Net @ Home
    [email protected]



  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    GetRemoteAddress is not an API, but a Method used by the .NET Framework Class Library.

    Take a gander at this link. For more information, just go straight to MSDN, and type GetRemoteAddress in the search box.

    http://msdn.microsoft.com/library/de...dressTopic.asp

  3. #3

    Thread Starter
    Hyperactive Member gravyboy's Avatar
    Join Date
    Jan 2000
    Location
    Where I was before . . . if you don't know then you're new!
    Posts
    334

    Cheers

    I found some info . . .

    GetHostByName in WSOCK32

    It returns a pointer (a long address) and if you offset by 12 you get the info you need. I'll find the link and post it later . . .

    [edit]
    It's later . . .

    Useful IP/HostName Stuff
    [/edit]

    Thanks anyway Hack . . . .
    Last edited by gravyboy; Nov 7th, 2001 at 01:39 PM.
    Matt G
    VS6 Ent SP5 @ Work
    VS6 Ent SP5 & VB.Net @ Home
    [email protected]



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