I need help with the following Operating System homework questions: 1) In what w
ID: 3890764 • Letter: I
Question
I need help with the following Operating System homework questions:
1) In what ways (if any) are Local Procedure Calls in Windows XP similar to Remote Procedure Calls.
2) How are sockets created? What parameters must be defined to do so?
3) Are sockets a high-level communications scheme? If they are, compare them to low-level communication schemes.
4) Does access to POSIX shared memory require a system call?
5) When running a DateServer, and modifying the code that makes it up, what types of problems might you encounter?
Explanation / Answer
Solution:
1)
Remote Procedure Call is inter-process communication technique that allows client and server software to communicate in a distributed environment. Local Procedure Call is to be used for communication between two user mode processes.
Both of them uses the client-server procedure to interact with users to perform communication.
2)
A socket is defined as an endpoint for communication. A pair of processes communicating over a network employs a pair of sockets—one for each process.A socket is identified by an IP address concatenated with a port number. In general, sockets use a client-server architecture. The server waits for incoming client requests by listening to a specified port. Once a request is received, the server accepts a connection from the client socket to complete the connection.
3)
No, they are considered to be low-level channel.
4)
No, it does not require a system call.
I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)