Timingguys.com by PST
Timingguys.com by PST
SPORTS TIMING HARDWARE FORUMS
Data Communications
TCP MSS|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Member |
guys,
having some doubt on tcp hope someone can help me understanding it. Assume L byte is send from node A to B. Assume MSS=1460 byte and sequence number feild has 4bytes. How can i calculate the maximum L value so the sequence number are not exhausted? thanks guys. apreciate your help. |
||
|
|
Member |
Use a CRC32. The theoretical collision rate is one collision every half-million (or so) message IDs. If you can steal 4 more bytes, a CRC64 has a collision rate of one in two trillion (or so).
Surprisingly, Visual Studio 2005 doesn't have a CRC32() function in the System.Security.Cryptography namespace, but java.util.zip implements a CRC32 class. Plenty of source code examples on the web, in any language. |
|||
|
| Powered by Social Strata |
|