CS 633
Out
Date :
In
date :
Lab 3: File Transfer
Over Internet Using TCP
A. Client
A.1.
Client at sm opens a connection to the Server at Sun
A.2.
It then sends the name of the file to the Server
A.3.
It receives the data from the socket and prints this to a local file.
B.
Server
B.1. Server at SUN opens a socket and waits for any
connection. It then opens the file, reads from file and writes to the socket.
It creates a new thread for each connection (do not use fork)
C. Test :
Test
whether sample.txt file is transferred to Sun.
Send
your files by e-mail to kerciyes@csusm.edu
for this assignment only