EE450 Socket Programming Project Fall 2013

5 you are not allowed to pass any parameter or

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: _____ and IP address _____ When the file request is sent to the Phase 3: The File request from Client2 has been sent to the File Server <file_server_name> When the file is received by Client2 Phase 3: File received from < file_server_name >. End of Phase3 Phase 3: End of Phase3 for Client2. NOTE: <file_server_name> : file server returned back to the client by Directory server. Can be either “File_Server1” , “File_Server2” or “File_Server3”. <file_server_tcp_port_number> :TCP port number of the file server returned by the Directory Server. Flow Diagrams: Client: Set a UDP onnection Setup TCP cconnection to file server to Directory server File Server: Setup UDP connection with Directory server Send message “Client Send message “Client # doc #”to # Document #” Directory server Register with the Directory server by sending “File_server# TCP_port_number” Receive “File_server# TCP_port_number” from Directory server Open TCP connection and start Listening on static TCP port Setup a TCP connection with the File server using the TCP port n umber obtained from t Directory server. he Accept TCP connection from the Client. Request for the resource from File server. Receive the File from the file server Respond back to the clients request for resource b y sending the file to Client END END Directory: Set UDP connections with File Servers Get the static TCP port numbers from File Servers and store it in directory.txt Set UDP connections with the two c...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern