-
lan chat server
i am currently creating a lan chat prog and instead of typing in the ip to send i want the program to automatically find the network server. can anyone of you nerds(no offence) out there help me?
plz hurry b4 i blow up my computer:mad:
thankz in advance.
-
No.
You need to have some way of referencing any server or computer on the network - be it by computer name, or IP Address (depending on your protocol).
To have a program pull a name or address out of the air, wouldn't work.....
Mind you. You might be able to do something with LDAP. Then your program would need to contact the service to find the server....
RFC 3494 LDAP (I beleive)
-
Well if you knew the computer that was going to be acting as the server before hand I suppose it is possible to search the network for all clients on it, I know there is some code around here which will let you do such a thing.