Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
Node is saved as draft in My Content >> Draft
  • Communication Mode in Client Server Model

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 60
    Comment on it

    Communication

     

    Two processes in client-server model can interact in various ways:

    • Sockets

    • Remote Procedure Calls (RPC)

     

    Sockets

     

    In this communication technique, Server opens a socket using a port when client request is reached to the server.

    Then the client also opens the socket using its port for accepting the response coming from the server.

     

     

     

     

    When the request is reached to server, it is served. It can either be an information sharing or resource request.

     

     

    Remote Procedure Call

     

    This mechanism is used when the interaction between process is done with the procedure calls.

    The client calls the procedure that are in the server.his communication happens in the following way:

     

    • The client process calls the client stub. It passes all the parameters pertaining to program local to it.

    • All parameters are then packed (marshalled) and a system call is made to send them to other side of the network.

    • Kernel sends the data over the network and the other end receives it.

    • The remote host passes data to the server stub where it is unmarshalled.

    • The parameters are passed to the procedure and the procedure is then executed.

    • The result is sent back to the client in the same manner.

    Networking

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: