Clint Server Chat Application
Budget: $10 – $30 USD
Making two console programs, one for the client and one for the server.
Before establishing a TCP connection with the server, the client app asks the user for a username.
The client can send commands and/or chat messages (using the special character $).
Before sending messages or other commands like "$get list" and "$get log," the client must first register with the server. You'll also be in charge of terminating established conversations when the network is terminated.
You'll need to develop multiplexing logic in the server application to handle multiple client I/O. Also, as you respond to the messages given by the customers, reinforce the sending and receiving.
Before establishing a TCP connection with the server, the client app asks the user for a username.
The client can send commands and/or chat messages (using the special character $).
Before sending messages or other commands like "$get list" and "$get log," the client must first register with the server. You'll also be in charge of terminating established conversations when the network is terminated.
You'll need to develop multiplexing logic in the server application to handle multiple client I/O. Also, as you respond to the messages given by the customers, reinforce the sending and receiving.