Find Jobs
Hire Freelancers

client server

$15-20 USD

Completed
Posted over 21 years ago

$15-20 USD

Paid on delivery
Write two different programs (client/server) which communicate via a TCP/IP connection on the same host machine. The server should listen for connection requests from the client on TCP/IP port 1025. Once a connection is established, it should dump the data sent from the client to the local console. Here is a skeleton of how the server should be implemented: 1) Create a Socket using the appropriate system Call 2) Bind the Socket to an address. (bind system call) using [login to view URL](localhost) 3) Invoke a blocking call to listen 4) Do a receive of length 1 byte 5) Do another receive of size determined by the integral value of the byte value from above. 6) Dump the data from step 5 to the console. The client should initiate a connection with the server, and send a simple msg. Use the same port number as above. Prefix the msg with the length of the msg body (The length prefixing implements the application layer of the protocol stack) Here is a skeleton of how the server should be implemented: 1) Create a Socket using the appropriate System call 2) Bind the Socket to an address (bind system call) use [login to view URL](local host) 3) Invoke the connect System call with socket from above. 4) Issue a Send with the Msg as a parameter. When testing be sure the server is running prior to running the client. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform C++ or java Unix or java
Project ID: 2892803

About the project

8 proposals
Remote project
Active 21 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
Awarded to:
User Avatar
See private message.
$7 USD in 14 days
4.7 (54 reviews)
5.3
5.3
8 freelancers are bidding on average $13 USD for this job
User Avatar
See private message.
$17 USD in 14 days
5.0 (35 reviews)
5.0
5.0
User Avatar
See private message.
$8.50 USD in 14 days
5.0 (8 reviews)
4.3
4.3
User Avatar
See private message.
$17 USD in 14 days
4.8 (9 reviews)
3.4
3.4
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (16 reviews)
3.2
3.2
User Avatar
See private message.
$12.75 USD in 14 days
3.7 (5 reviews)
2.9
2.9
User Avatar
See private message.
$12.75 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$16.15 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
6
Member since Mar 14, 2002

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.