Explain csmsginterface() function with predefined protocol, Computer Engineering

Assignment Help:

Explain CSMsgInterface() Function with Predefined Protocol 

A REQUEST structure is created for each message sent to the server. Messages passed to CSMsgInterface() as *dataMSG will be copied into request.csData for transmission to the server. This entire process may be further optimized by using the REQUEST structure as the data interface in the client application rathert than a MSG structure.

REQUEST could then be passed to CSMsgInterface() instead of MSG, avoiding the unnecessary memory allocation and copy.

As we learned, predefined protocols are inherently not flexible. Our interface may be expanded, however to include more types of MSG protocols. Server components could then send and receive different application protocols based on differing requirements. The additional changes could be implemented as new parameters to CSMsginterface (), variable sizes passed in REQUEST, or could be manually coded via switch () statements for each client-server request.


Related Discussions:- Explain csmsginterface() function with predefined protocol

Write a verilog code for synchronous and asynchronous reset, Write a Verilo...

Write a Verilog code for synchronous and asynchronous reset? Synchronous  reset, synchronous means clock dependent so reset must not be present in sensitivity disk eg: alway

Evaluate personality defines, Evaluate personality defines? 1. System ...

Evaluate personality defines? 1. System calls: Linux use a software interrupts to change into kernel mode whilst other UNIX system use an inter segment jump. 2. Message n

Can we run matlab without graphics, Sometimes you may need to run scripts w...

Sometimes you may need to run scripts which have plotting commands without displaying the plots and without going into the script to comment out the commands. An example: if you're

Explain resource request and allocation graph (rrag), Explain Resource requ...

Explain Resource request and allocation graph (RRAG) Deadlocks can be explained by a directed bipartite graph known as a Resource-Request-Allocation graph (RRAG).A graph G = (V

objectives- parallel computing, Objectives After going through this un...

Objectives After going through this unit, you will be able to : Tell historical facts of parallel computing; Can explain the essential concepts of the discipline, e.g.

What is connection, An established communication session among a server and...

An established communication session among a server and a workstation.

What is the difference between wire and register, What is the difference be...

What is the difference between wire and reg Wire Wire is used for designing combinational logic, as we all know that this type of logic cannot store a value.  As  you  can

What all 1's represents in 32bit ip addressing scheme, In 32bit IP Addressi...

In 32bit IP Addressing scheme all 1's represent? All 1's represent limited broadcast in 32 bit IP Addressing scheme.

Differentiate between public key and secret key encryption, What are the di...

What are the different between Public Key Encryption and Secret Key Encryption? Differentiate between Public Key Encryption and Secret Key Encryption: A cryptographic sys

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd