File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes Sending password/login info using sockets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Sending password/login info using sockets" Watch "Sending password/login info using sockets" New topic

Sending password/login info using sockets

jes smith

Joined: Apr 17, 2011
Posts: 1
I am trying to make a client/server program. The client will contian a gui login/password frame. It will send that information to the server. If the information is correct, the server will allow the client to access the rest of the program which is my gui menu menu. How do I send the information? I already made the gui.

Ankit Tripathi
Ranch Hand

Joined: Oct 17, 2009
Posts: 199
Hi Jes,
Welcome to JavaRanch...
This link may help you.....webpage
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

In the topic Ankit links to, I make a reference to RMI. If you can, use it. RMI is object-based which means you can concentrate on your program rather than the low-level details of creating a custom protocol.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Sending password/login info using sockets
jQuery in Action, 3rd edition