|
-
Dec 28th, 2001, 01:18 AM
#1
Thread Starter
Hyperactive Member
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?
-
Dec 28th, 2001, 01:22 AM
#2
PowerPoster
Winsock1.RemoteHost should work for both the client and the server.
-
Dec 28th, 2001, 01:24 AM
#3
Thread Starter
Hyperactive Member
but...
will it return the data i need?
-
Dec 28th, 2001, 01:29 AM
#4
PowerPoster
What data do you need? Why do you need the host name of the client?
-
Dec 28th, 2001, 01:36 AM
#5
Thread Starter
Hyperactive Member
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...
-
Dec 28th, 2001, 01:38 AM
#6
PowerPoster
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.
-
Dec 28th, 2001, 01:48 AM
#7
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|