Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pseudo Tcp channel

Tags:

tcp

channel

What is a pseudo-tcp channel and how can it be implemented?

like image 649
Shalabh Avatar asked Apr 06 '11 17:04

Shalabh


People also ask

What are pseudo headers?

The pseudo-header consists of parts of the IP header. It covers relevant fields of the IP header that are static (do not change in the routing of packets). The pseudo-header contains a total of 12 bytes with the following fields: Src IP Address: the address of the message origin (imported from the IP header)

What are the different fields in pseudo header?

When the TCP checksum is computed by the sender, the following fields (called the pseudo-header) are included in the computation: the source and destination IP addresses, a byte of zeros, the IP protocol-id field, and the length of the TCP segment.

What is difference between UDP and TCP?

TCP is a connection-oriented protocol, whereas UDP is a connectionless protocol. A key difference between TCP and UDP is speed, as TCP is comparatively slower than UDP. Overall, UDP is a much faster, simpler, and efficient protocol, however, retransmission of lost data packets is only possible with TCP.

Is TCP connection-oriented?

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.


1 Answers

Pseudo-TCP is a protocol that implements some of the ideas of TCP to provide a reliable data stream over an unreliable, packet-based interface. This could be used, for example, if you had access to only UDP but wanted a reliable way to pass data.

You can find example code here:
Google Code - PseudoTCP Channel (Header File)
Google Code - PseudoTCP Channel (CC File)

like image 90
Brian White Avatar answered Oct 03 '22 09:10

Brian White