Implement a simple file transfer protocol (FTP) usingconnection-oriented and connectionless sockets. Theconnection-oriented FTP works as follows: At the client side, thefile to be transferred is divided into units of 100 bytes (and maybe less than 100 bytes for the last unit depending on the size ofthe file). The client transfers each unit of the file to the serverand expects an acknowledgment from the server. Only after receivingan acknowledgment from the server, the client transmits the nextunit of the file. If the acknowledgment is not received within atimeout period (choose your own value depending on your networkdelay), the client retransmits the
OR
OR