Results 1 to 3 of 3
- 09-24-2010, 01:50 AM #1
Member
- Join Date
- Sep 2010
- Posts
- 5
- Rep Power
- 0
server-client; client sends a username to the server.
I have reformed my server code, but the only thing that I am not sure about is how the server would get a selected name from the client?
would I just have to create a protocol and states for the accounts?
say the person was new and types name in to use from the client, how could I get the client to send the name to the server?
state 1
check if the name exists
if true go to state 3 and log in
state 2 create account..
by using bufferedreader and writer, but is there another more efficient way?
- 09-24-2010, 02:29 AM #2
The client would connect to the server and send the name to the server.how the server would get a selected name from the client?
how could I get the client to send the name to the server
How does the client connect to the server?
Do you have a protocol for client-server communications? Are you sending Strings or using DataStreams or ?
- 09-24-2010, 11:31 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Similar Threads
-
FTP client server
By toxic in forum NetworkingReplies: 1Last Post: 05-04-2010, 04:54 AM -
how to send a file from server to client and client saves the file?
By KoolCancer in forum New To JavaReplies: 3Last Post: 07-29-2009, 04:52 AM -
client-server app
By shwein in forum NetworkingReplies: 3Last Post: 10-14-2008, 05:20 PM -
Datagram Client and Server, client timer question
By saru88 in forum NetworkingReplies: 1Last Post: 10-05-2008, 03:12 PM -
Identify Client in Socket Client Server Application
By masadjie in forum NetworkingReplies: 1Last Post: 12-20-2007, 09:18 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks