answersLogoWhite

0


Best Answer

A service is formally specified by a set of primitives or operations available to the user to access the service. These primitives tell the service to perform some action or report an action taken by the peer entity. The primitives for the connection oriented service are given in following table. Primitives Meaning Listen Block waiting for an incoming connection Connect Establish a connection with waiting peer Receive Block waiting for an incoming message Send Send a message to the peer Disconnect Terminate a connection Table: - Service primitives for a connection oriented service Communication in a simple client server model using the above service primitives is illustrated in figure [A]. First the server executes LISTEN to indicate that it is ready to accept incoming connections. The client executes CONNECT (1) to establish the connection with the server. The server now unblocks the listener and sends back an acknowledgement (2). Thus the connection is established. Figure [A]:- Simple client server model on a connection oriented network
The next step for a server is to execute RECEIVE (3) to prepare to accept the first request. The arrival of the request packet unblocks the server so that it can process the request. After it has done the work it uses SEND (4) to answer to the client. After all the data transfer is done it can use DISCONNECT (5) for suspending the client. When the server gets this packet, it also issues a DISCONNECT (6) and when it reaches the client, the client process is releases and the connection is broken. In the process packets may get lost, timings may be wrong; many other complex issues may arise. The Relationship of Services to Protocols Figure [B]: Relationship between the service and protocols A service is a set of primitives that a layer provides to the layer above it. The service defines what operation the layer is prepared to perform on behalf of its users. It says nothing about the implementation of these operations. A protocol is a set of rules governing the format and meaning of the packets, or messages that are exchanged by the peer entities within a layer. Figure [B] illustrates the relationship of services to protocols. Entities use protocols to implement their service primitives. Protocols relate to the packets sent between entities.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Discuss the service primitives in a client server model?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

In client server mode each module performs a service such as a file service or a memory service?

server module


What is client-server database?

A client-server database is the relationship between two computer programs. One makes a service request (client) and the other (server) fulfills the request.


What does Transparency of Location mean in Client Server model?

the server is a process that can resite of same machine as a client or on a different machine the client software usually the location of the server from client by redirecting the service.....(upload by vams)


What does a telnet server have?

It has either a single client requesting a service


What is the difference between client and server on the data communication network?

A server will receive connections from a client, and the client will usually receive some service from the server. When you're browsing web sites online, those web sites are hosted on servers. Your web browser acts as a client to connect to the server and interact with it.


What is a web service client?

Web service is basically a way of two devices, a client and a server, to communicate. The Client is basically the receiver of information from the server. To be honest, there wasn't much on the web on what exactly it is, but this is all I could piece together. Hope this helps.


A client is communicating with a server on a different segment of the network how does the server determine what service is being requested by the client?

The server knows by the destination port number, which attaches a listening program to a specific protocol.


What is a Windows Dedicated Server?

A windows dedicated server is a server that is leased to one specific client. This server will not be used by any other clients. The service provider will offer IT and customer support for the server.


A client server network is also known as?

Pretty much a client server network is known as a client server network.


What is the difference between a host and a workstation?

host or server is same. the server provide the service to the end user or client. like engineered programming.


What is clien or server mean?

Client/server describes the relationship between two computer programs in which one program, the client, makes a service request from another program, the server, which fulfills the request. Although the client/server idea can be used by programs within a single computer, it is a more important idea in a network. In a network, the client/server model provides a convenient way to interconnect programs that are distributed efficiently across different locations. Computer transactions using the client/server model are very common.


Which program is always running in client server?

Server program is always running in client server.