|
-
May 20th, 2000, 06:07 AM
#1
Thread Starter
Junior Member
Hello, and thanx for reading this! OK here is my problem!
I am makin a client/server program using the "MS Winsock" Control and this is my problem.
I have the server portion of the program set up like this.
************************************
winsckServ.localport=1896
winsckServ.listen
***********************************
OK., now the server portion of the prog is listening for peers that are trying to connect.
the client , portion is siply ......
*************************************
winsckClient.connect
*************************************
--of course im not a dumb ass, thre is more code to this prog than jsut this, but this is where i am running into problems.. I want the server portion of thr program to be able to determine the "IP"-"RemoteP" of the computer that is trying to connect to it. I know how to get the Local port of the client, but i cant get the clients IP.
//// I hope this is not too confusing.........
//// Thanx in advance............
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
|