|
-
Oct 13th, 2000, 10:58 PM
#1
Thread Starter
Frenzied Member
OK..
I tricked you. Its not directly
about trasfering through winsock.
Its alot harder... I made a diagram
of what I want to do and I need
code to know how to!
Could someone help me out here?
---------------------------------
Diagram-------------------------
----------------------------------
-Client Sends Ip Address to Server
-Host asks server if client has
contacted it, and gets IP of client
|Client
-____>_____>____>
XXXXXXXXXXXXXXXX|Server Holds IP
|Host Contacts Server
-__>______>_____>
|XXXXXXXXXXXXXXXX|Server says here
|XXXXXXXXXXXXXXXX|
|XXXXXXXXXXXXXXXX|Sends IP To HOST
|XXXXXXXXXXXXXXXX|of Client
|_<______<______<|
________________________________________
________________________________________
Thanks alot,
|
[Edited by Evan on 10-14-2000 at 12:01 AM]
-
Oct 14th, 2000, 01:07 AM
#2
You just want a Client to send its IP to the server and the server to confirm is that it?????
That diagram didn't do much for me, explain??
-
Oct 14th, 2000, 09:56 AM
#3
Thread Starter
Frenzied Member
I want to send the clients IP
to the server. and the server
hold the ip. then the host
will contact the server and
ask for the clients IP.
-
Oct 16th, 2000, 08:49 AM
#4
Frenzied Member
Once the server has accepted the connection, the client's IP address is in Winsock1(Index).RemoteHostIP.
Save the connecting Ip addresses in a table for the host.
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
|