Find Jobs
Hire Freelancers

You will be implementing a simple internet chat client.

$10-30 CAD

In Progress
Posted over 5 years ago

$10-30 CAD

Paid on delivery
Goal Use network sockets in a client-side implementation. Problem You will be implementing a simple internet chat client. A user will start the client and will need to login to the internet chat server, which will be provided to you. Once authenticated, the user will select one of three ``rooms'' in which to chat. Once in a room, the user can post information and see the posts of others. If you're in a “room”, you can also exit the room or enter another room. In the latter case, you will only get the messages from the new room from that point onward. Your program should be ready to accept two command line arguments: -h for the name of the host to find the server and -p for the server's port number. To simplify the overall implementation, you will not need to get messages from others asynchronously. When you send something to the server, the response from the server will contain any messages posted to the room since the last time you received a response. Your client must be able to send 5 commands to the server: • AUTH -- authenticate the user to the server • ENTER -- enter a specified room • EXIT -- exit a specified room • SAY -- post information in the room • BYE -- deregister from the server A sixth command, NOOP, is available on the server if you want to use it. NOOP is a “no operation” operation. It gives the server the chance to send data to the client without the client asking for some tasks to be done on the server.
Project ID: 18333003

About the project

Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of INDIA
Halifax, India
4.8
11
Payment method verified
Member since Sep 12, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.