You are sending a very small amount of information that you need the listening program to respond to immediately. which transmission control protocol (tcp) flag will be used?

The Transport and Application Layer.docx - The Transport and Application Layer 1. Ports 1024-49151 are known as _ ports. - registered 2. The

This preview shows page 1 - 2 out of 2 pages.

  • You are sending a very small amount of information that you need the listening program to respond to immediately. which transmission control protocol (tcp) flag will be used?

    Student Picture

Latest Submission Grade: 85.71%


Question 1

If a TCP socket is ready and listening for incoming connections, it's in the ______ state.

  • ESTABLISHED
  • CLOSE_WAIT
  • SYN_SENT
  • LISTEN

The LISTEN state means that a port is waiting for something to connect to it.


Question 2

The instantiation of an endpoint in a potential TCP connection is known as a ______.

  • socket
  • port
  • sequence number
  • TCP segment

A socket connects the networking stack of an operating system to applications.


Question 3

HTTP is an example of a(n) ______ layer protocol.

  • transport
  • data-link
  • application
  • network

There are lots of application layer protocols, but HTTP is one of the most common ones.


Question 4

Application layer data lives in the _____ section of the transport layer protocol.

  • data payload
  • header
  • footer
  • flags

The payload section of one layer contains the content of the layer above it.


Question 5

How many bits are used to direct traffic to specific services running on a networked computer?

A port is a 16-bit number that's used to direct traffic to specific services running on a networked computer.


Question 6

The transport layer handles multiplexing and demultiplexing through what type of device?

  • Hubs
  • Switches
  • Routers
  • Ports

The transport layer handles multiplexing and demultiplexing through ports.


Question 7

What port does the File Transfer Protocol (FTP) typically listen on?

FTP typically listens on port 21.


Question 8

Which field in a Transmission Control Protocol (TCP) header is chosen from ephemeral ports?

  • Acknowledgement number
  • Source port
  • Destination port
  • Sequence number

A source port is a high-numbered port chosen from a special section of ports known as ephemeral ports.


Question 9

Which field in a Transmission Control Protocol (TCP) header is not typically used in modern networking?

  • Sequence number
  • Acknowledgement number
  • Checksum
  • Urgent pointer

The urgent pointer field is not typically used in modern networking. This field points out particular segments that might be more important than others, but is a feature of TCP that hasn't really ever been adopted.


Question 10

The checksum doesn't compute for a packet sent at the Internet Protocol (IP) level. What will happen to the data?

  • The data will be sent back to the sending node with an error.
  • The data will be discarded.
  • The data will be resent.
  • It will be sent, but may be out of order.

At the IP or ethernet level, if a checksum doesn't compute, all of the data is just discarded. It's up to TCP to determine when to resend this data.


Question 11

Connection-oriented protocols protect against dropped data by forming connections and using what type of constant stream?

  • Verifiers
  • Approvals
  • Checks
  • Acknowledgements

Sequence numbers allow the data to be put back together in the correct order.


Question 12

In which scenario should you use the User Datagram Protocol (UDP)?

  • When you are using instant messaging with a co-worker
  • When you are sending an email
  • When you are streaming a video
  • When you make a phone call

Streaming a video through a connectionless protocol, such as UDP, will require less traffic, which will provide a faster connection.


Question 13

You are sending a very small amount of information that you need the listening program to respond to immediately. Which Transmission Control Protocol (TCP) flag will be used?

The PSH flag will be used to push the information immediately.


Question 14

Which Transmission Control Protocol (TCP) flag is used to make sure the receiving end knows how to examine the sequence number field?

The SYN flag is used to make sure the receiving end knows how to examine the sequence number field.

TCP will generally send all segments in SEQUENTIAL order.

What order does TCP send segments?

TCP will generally send all segments in SEQUENTIAL order. You are sending a very small amount of information that you need the listening program to respond to immediately. Which Transmission Control Protocol (TCP) flag will be used? The PSH flag will be used to push the information immediately.

Does TCP send packets in order?

TCP guarantees delivery of data and also guarantees that packets will be delivered in the same order in which they were sent. … Sequence numbers are used to coordinate which data has been transmitted and received. TCP will arrange for retransmission if it determines that data has been lost.

How are TCP segments transported?

The transport protocols TCP, UDP, and SCTP pass their segments and packets down to the Internet layer, where the IP protocol handles the segments and packets. … IP then determines the IP addresses for the datagrams, so that they can be delivered effectively to the receiving host.

What order will the Transmission Control Protocol?

TCP will generally send all segments in SEQUENTIAL order. You are sending a very small amount of information that you need the listening program to respond to immediately. Which Transmission Control Protocol (TCP) flag will be used? The PSH flag will be used to push the information immediately.

How does TCP know the correct order?

TCP uses a 32-bit sequence number that counts bytes in the data stream. Each TCP packet contains the starting sequence number of the data in that packet, and the sequence number (called the acknowledgment number) of the last byte received from the remote peer. … Each flag occupies a single byte.

What happens if TCP packets arrive out of order?

If too many packets are received out of order, TCP will cause a retransmission of packets similar to what happens with dropped packets. … For example, packet re-ordering and FEC can both be performed in either the router or in a separate appliance.

Is TCP transport layer?

Transmission Control Protocol (TCP) In terms of the OSI model, TCP is a transport-layer protocol. It provides a reliable virtual-circuit connection between applications; that is, a connection is established before data transmission begins.

Is TCP segments are of same size?

TCP segment consists of data bytes to be sent and a header that is added to the data by TCP as shown: The header of a TCP segment can range from 20-60 bytes. 40 bytes are for options. If there are no options, header is of 20 bytes else it can be of upmost 60 bytes.

What is TCP segmentation?

Segmentation is the process of carving up information into smaller pieces. TCP receives data from an application and segments the data into pieces. … This segmentation is necessary so that the information can be placed inside the TCP data field. Once the data is segmented it is encapsulated within TCP.

What kind of protocol is TCP?

In terms of the OSI model, TCP is a transport-layer protocol. It provides a connection-oriented data transmission service between applications, that is, a connection is established before data transmission begins. TCP has more error checking that UDP.

What is true for TCP connections?

Answer: Among the above given statements the statement which holds true for TCP protocol is a) It provides connection-oriented, reliable packet transfer service. … It normally controls the data exchange over the internet by breaking it into packets, and sending it to the specified destination with full efficiency.

What are the three phases of TCP?

There are three phases in any virtual connection. These are the connection establishment, data transfer and connection termination phases.

What does TCP out of order mean?

It simply means that particular frame was received in a different order from which it was sent (after a later packet in the sequence). It is not generally a problem. It probably indicates there are multiple paths between source and destination – and one travels a through a longer path.

What are the flags in TCP?

In TCP connection, flags are used to indicate a particular state of connection or to provide some additional useful information like troubleshooting purposes or to handle a control of a particular connection. Most commonly used flags are “SYN”, “ACK” and “FIN”. Each flag corresponds to 1 bit information.

Is TCP a FIFO?

Assuming we are using TCP agents, all data are delivered in sequence, which means we can view the TCP connection as a FIFO pipe.