This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Networked client questions. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Networked client questions." Watch "Networked client questions." New topic
Author

Networked client questions.

Mark O' Sullivan
Ranch Hand

Joined: Aug 17, 2009
Posts: 160
Hi,
Just wondering
(1) what needs to be specified in the client gui for the dialog boxes for networked server parts? E.g. port number, etc.
(2) I presume the networked server must be started before the networked client?
Thanks.
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2258
    
    3

Howdy, Mark!

Champion, for your first question, please take a look here. But you may want to include the server's IP address and the port number in which the server is running.
For your second question, exactly. If you start the application in client mode, and the server is not running, then you may considering showing a message to the user, saying that the server could not be found.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Mark O' Sullivan
Ranch Hand

Joined: Aug 17, 2009
Posts: 160
Cheers, thanks for all your great help!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Networked client questions.
 
Similar Threads
networked form
"Overall Architecture"
How to create Server
Question about DesignPattern
Database file