Results 1 to 7 of 7

Thread: need winsock master help!

  1. #1

    Thread Starter
    Hyperactive Member FLasH3r's Avatar
    Join Date
    Feb 2001
    Location
    Bad command or filename
    Posts
    259

    Arrow need winsock master help!

    i am building an irc server, and i need to know how to get the host name of the client...

    is it winsock1.remotehost ?

    or do i need to do something else?

  2. #2
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    Winsock1.RemoteHost should work for both the client and the server.
    <removed by admin>

  3. #3

    Thread Starter
    Hyperactive Member FLasH3r's Avatar
    Join Date
    Feb 2001
    Location
    Bad command or filename
    Posts
    259

    but...

    will it return the data i need?

  4. #4
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    What data do you need? Why do you need the host name of the client?
    <removed by admin>

  5. #5

    Thread Starter
    Hyperactive Member FLasH3r's Avatar
    Join Date
    Feb 2001
    Location
    Bad command or filename
    Posts
    259

    more info:

    when an irc client connects to a server, the server needs some info on the type of connection...

    if the client is connected through proxy, do this else do that.
    in irc, when the client connects, it recives a uniqe signature that is combined from his hostname, and other stuff configured by the client.

    what i need to know is, if the remotehost return the hostname of the client.

    if you connected before using irc, then you should know what i mean...

  6. #6
    PowerPoster MidgetsBro's Avatar
    Join Date
    Oct 2000
    Location
    Apparently, Internet.com
    Posts
    3,125
    I don't use IRC, but I understand what you are saying. I am pretty sure that if your server asks what the Client's Hostname is by using Winsock1.RemoteHost, it will get the correct host. Why don't you just try it and see for yourself. It won't do any harm to try.
    <removed by admin>

  7. #7

    Thread Starter
    Hyperactive Member FLasH3r's Avatar
    Join Date
    Feb 2001
    Location
    Bad command or filename
    Posts
    259

    the problem is...

    i have a dedictaed line at home, which makes my IP fixed, and when i connect to an irc server, it says it can't resolve my host and is using my ip instead.

    i need a dial up user to connect to my app.

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