What is a pseudo-tcp channel and how can it be implemented?
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)
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.
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.
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.
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With