|
-
Aug 31st, 2000, 05:09 PM
#1
Thread Starter
Lively Member
Ok, when i want to use the winsock control, is it neccessary for the other computer that I'm trying to connect to have to have a valid Ip address? What I'm doing is making a chat program and my problem is that not all the computers on my Network has a valid Ip. We are running a Novell network not NT so I don't have a DHCP server. Some of the users do have a valid Ip so my program works on theirs. But the other users with an Ip of 127.0.0.1 the program doesn't work. Is this true or am I doing something wrong? Any comments or suggestions would be appreciated.
Many Thanks...
-
Aug 31st, 2000, 05:14 PM
#2
Fanatic Member
Well if you have more that one computer with the same ip then the program would get confused. 
Why not assign them an ip with the same mask. I think if the computers are on a network you can connect to then via Computer Name (\\Comp1\) But i'm not sure that WILL work.
Gl,
D!m
-
Aug 31st, 2000, 05:17 PM
#3
Fanatic Member
This code will give you the IP of your machine:
Code:
Msgbox("Your IP is: " & Winsock1.LocalIP)
-
Aug 31st, 2000, 05:21 PM
#4
Thread Starter
Lively Member
I've tried assigning different Ip's, but that doesn't work. The users that the program works on has a Static Ip that is provided by our ISP. On the ones without the Ip it doesn't seem to work. So does that mean that they truely need a valid Ip?
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
|