Can anyone help me with below scenario,
university wants to simplify the registration procedure by
taking advantage of the new emerging technology and replace the stand-alone application with a
client server application. The new students can receive CD 's containing the client application
and a multi-threaded server application will be hosted on the university server.
Both, client and server should communicate using the sockets API. Each time the client connects
to the server, the students can fill the necessary information (name, surname, birth date, telephone number , mail address) a
message (contains this information ) is sent to the server . The message should have the
in following format:
name\tsurname\tbirth year\ttelephone\tnumber\tmail address.
Once the server receives a message, it starts a new thread in order to save the received data in a
tab limited text file (one line per student). You might have many
threads running concurrently trying to write data in the text file, therefore writing to the text file
should be a serialized task.
Instead of saving the data in a file the data should be sent as a
message using sockets API to the university server.
Re: Sockets API
Sure we can help, but all you've done is dumped your requirements. You need to ask a specific answerable question.
Originally Posted by safwa_man
Re: Sockets API
OK, let's close this thread since it does not contain an answerable question. I invite you to re-ask your question, but if you do so, please show what you've done so far and please ask as specific a question as possible.