Associate
Hi, for uni we have to make a private messaging client + server (the tutor said email but hes a tail and has a different definition for everything)
so far I have a multiserver running and a thread thingy on the server... and the client.
I want the client to be able to tell the server what it wants it to do exactly and I thought the best way to achieve this was to send an array such as...
"Login", "username", "password" then the server gets the first bit and directs the rest to the login process on the server...
someone else has suggested that I just send "login" and then the username and password but...
I really don't understand Java whatsoever :S our tutor will hopefully get sacked for not understanding it himself and giving us unreasonable criteria on something we have never even touched... with next to no knowledge of java... so far everythign I have found has been copy+paste from google examples
so far I have a multiserver running and a thread thingy on the server... and the client.
I want the client to be able to tell the server what it wants it to do exactly and I thought the best way to achieve this was to send an array such as...
"Login", "username", "password" then the server gets the first bit and directs the rest to the login process on the server...
someone else has suggested that I just send "login" and then the username and password but...
I really don't understand Java whatsoever :S our tutor will hopefully get sacked for not understanding it himself and giving us unreasonable criteria on something we have never even touched... with next to no knowledge of java... so far everythign I have found has been copy+paste from google examples