-
Notifications
You must be signed in to change notification settings - Fork 9
getFile
Swilloughby-github edited this page Dec 11, 2016
·
3 revisions
Scope: public
Return: void
- @param String file - the name of the file being received
- @param Socket sock - the socket containing the active server connection
This method is responsible for handling the events that occur when the client wants to send a file to the server. By the operation on the client side is complete, the server has created a new file in the format of copy-file.txt. It then reads the lines sent over the socket by the client in a fashion similar to the client. The server also receives a checksum from the client and compares it with that of the checksum generated on the server end.
- Home
- Course-Related Materials
- Development Environment
- Development Workflow
- Packages
- Guides
- Team Pages