Communications Research Group
Protocols and Services
- Dr. Christian Rohner
Protocol
1 the official procedure or system of rules governing affairs of state or diplomatic
- ccasions : protocol forbids the prince from making any public statement in his defense.
- the accepted or established code of procedure or behavior in any group,
- rganization, or situation : what is the protocol at a conference if one's neighbor dozes off
during the speeches?
- Computing a set of rules governing the exchange or transmission of data
electronically between devices. 2 the original draft of a diplomatic document, esp. of the terms of a treaty agreed to in conference and signed by the parties.
- an amendment or addition to a treaty or convention : a protocol to the treaty allowed
for this Danish referendum. 3 a formal or official record of scientific experimental observations.
- a procedure for carrying out a scientific experiment or a course of medical
treatment. ORIGIN late Middle English (denoting the original record of an agreement, forming the legal authority for future dealings relating to it): from Old French prothocole, via medieval Latin from Greek protokollon.’ Sense 1 derives from French protocole, the collection of set forms of etiquette to be observed by the French head
- f state, and the name of the government department responsible for this (in the
19th cent.).
Source: Oxford American Dictionary
Protocol: getTime
IDLE WAIT_DATE WAIT_BYE from_above (what's the time?)
- send_msg(server, HI)
rcv_msg(TIME)
- to_above (the time is TIME)
send_msg(server,BYE) rcv_msg(BYE)
- WAIT_HI
rcv_msg(HI)
- send_msg(server, TIME?)
Hi! Hi! What's the time? It's 12:30 Thanks, bye! Bye! client
t_struct getTime(dest) { send_msg(dest, “Hi!”); rcv_msg(); send_msg(dest, “Time?”); t_struct time = rcv_msg(); send_msg(dest, “Bye!”); return time; }
Protocols and Services
getTime(dest)