Monday, September 9, 2019

Question to answer Assignment Example | Topics and Well Written Essays - 1000 words - 1

Question to answer - Assignment Example The terms connectionless and connection-oriented describe different kinds of communication. Connection-oriented means that ‘when devices communicate, they perform handshaking to set up an end-to-end connection. The handshaking process may be as simple as synchronization such as in the transport layer protocol TCP, or as complex as negotiating communications parameters as with a modem. Connection-Oriented systems can only work in bi-directional communications environments. To negotiate a connection, both sides must be able to communicate. This will not work in a unidirectional environment. On the other hand, connectionless means that no effort is made to set up a dedicated end-to-end connection. Connectionless communication is achieved by transmitting information in one direction, from source to destination without checking to see if the destination is still there, or if it is prepared to receive the information. When there is little interference, and plenty of speed available, these systems work well. In environments where there is difficulty transmitting to the destination, information may have to be re-transmitted several times before the complete message is received. Walkie-talkies, or Citizens Band radios are good examples of connectionless communication. You converse into the mike, and the radio transmitter sends out your signal. If the person receiving you doesnt understand you, theres nothing his radio can do to correct things, the receiver must send you a message back to repeat your last message’(InetDaemon). 3. What are the four important steps to follow while programming sockets for communication? Hint: Use the code given on blackboard and check the flow of the code from top to bottom for helpful information on how sockets work. One, ‘we create an object of class TcpClient (namespace System.Net.Sockets0 to connect to the server. The connection is established by calling TcpClient method

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.