It's not a secret anymore!*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Sending password/login info using sockets" Watch "Sending password/login info using sockets" New topic
Author

Sending password/login info using sockets

jes smith
Greenhorn

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: 198
Hi Jes,
Welcome to JavaRanch...
This link may help you.....webpage
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8877
    
    8

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
 
subject: Sending password/login info using sockets