For my assignment, there is request that allow user to specify the location of the database
means the db file in the file system?
and it must also accept an indication that a local database is to be used, in which case, the networking must be bypassed entirely
There are three mode: server/alone/gui_client only
for server mode, let user specify db file is pretty enough, it doesn't mkae sense for local or network indication
for gui_client only, it doesn't make sense for user to choose network or local, 'cause it has to be networked, only GUI and network client will be started as doc states.
So the only place to let user specify local or network is in standalone mode, isn't that local already, or I have to let user choose local and network, then invoke properly, using localhost to loop back if user select network, very strange to me.
Any body has other intepretations?