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