Completed

Tocks

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: Create a Socket using the appropriate system Call Bind the Socket to an address. (bind system call) using 127.0.0.1(localhost) Invoke a blocking call to listen Do a receive of length 1 byte Do another receive of size determined by the integral value of the byte value from above. 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: Create a Socket using the appropriate System call Bind the Socket to an address (bind system call) use 127.0.0.1(local host) Invoke the connect System call with socket from above. 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

Unix

Skills: C Programming, Engineering, Java, MySQL, PHP, Software Architecture, Software Testing

See more: unix socket programming, stack programming, socket programming in php, tcp socket, tcp programming, Protocol Testing, php server client socket, program using stack, client socket server, socket programming server, skeleton php, tcp testing server, listen write, tcp programs using, tcp connection programming, source code socket programming, running unix socket, running unix, simple tcp code, console application programs, php tcp client, tcp socket connection, tcp server send, code protocol stack, tcp port send

About the Employer:
( 5 reviews ) United States

Project ID: #2892122

Awarded to:

keedonou

See private message.

$7 USD in 14 days
(4 Reviews)
1.1

9 freelancers are bidding on average $9 for this job

musharrafvw

See private message.

$8.5 USD in 14 days
(54 Reviews)
5.3
javabeevw

See private message.

$12.75 USD in 14 days
(18 Reviews)
3.9
javoreu

See private message.

$12.75 USD in 14 days
(39 Reviews)
3.7
AnnMary

See private message.

$11.05 USD in 14 days
(15 Reviews)
2.9
sfunds

See private message.

$11.05 USD in 14 days
(5 Reviews)
2.9
coder001vw

See private message.

$8.5 USD in 14 days
(3 Reviews)
1.3
kompooter

See private message.

$5.1 USD in 14 days
(3 Reviews)
0.7
sergeivistomin

See private message.

$8.5 USD in 14 days
(0 Reviews)
0.0
jalalahmadvw

See private message.

$4.25 USD in 14 days
(0 Reviews)
0.0