Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    1,575

    Re: TCP JAva Server - Username, Password

    If the program is executing in a command prompt window, System.in should be where the user's input is read.

    Can you explain how you are executing the program? What are the steps you take to...
  2. Replies
    5
    Views
    1,575

    Re: TCP JAva Server - Username, Password

    See the Scanner class for methods to read input data from a user.

    If you are asking about what is passed to the main() method on the commandline when the class is executed, the contents of the...
  3. Replies
    5
    Views
    1,575

    Re: TCP JAva Server - Username, Password

    Does the client code execute in the command prompt without GUI?
    To get data from a user, print a prompting message and use one of the Scanner class's method to read in the user's response.

    The...
Results 1 to 3 of 3