Real-Time Transport Protocol Real-time traffic v.S. multimedia traffic Real-time communication is the almost simultaneous production and use of the data, ignoring the short delay in transmission
Introduction X Focuses on the structure of programs that use RPC, and shows how program can be divided along procedure boundaries Introduces the stub procedure concept and a program generator tool that automates much of the code generation associated with ONC RPC
Introduction Examines a de facto standard for external data representation and presentation as well as a set of library procedures used to perform data conversion Describes the general motivations for using an external data representation and the details of one particular implementation
Multiple Threads Master thread for connection requests Slave threads for handling communication with clients Thread of execution: an abstraction of independent computation Single process can contain one or more threads CSIE, NTUT, Taiwan
Conceptual Server Algorithm Simple Server Algorithm Create a socket Bind the socket to the port Enter an infinite loop Accept request Process request Reply request Not enough in practice generally