? on Sockets and user choice as far as picking server or local database?
posted 14 years ago
My application gives the user a choice to use the local database(i.e. the database on the same computer) or the server database. My question is, if the user wants to use the server database, the user must know the IP address of the computer that the server is running on and enter that IP in my GUI. Is this good enough? That is, will this suffice, or will I lose some points here? Did anybody do it the way I did and if so did you lose any points on this part? Thank you very much!
To get to any server you always need to know an address. So it is perfectly fine and actually the only way you will be able to connect to the server. Sometimes it doesn't need to be an IP address if there is a DNS entry. But don't worry about that. Mark