-
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]
-
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??
-
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.
-
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.