-
February 13th, 2017, 11:16 AM
#1
Actual TCP code
Is there anyway to find the actual TCP source code? I know we can find the different operations TCP performs but what is the actual code?
Thanks,
- KRD
-
February 13th, 2017, 12:36 PM
#2
Re: Actual TCP code
Is there anyway to find the actual TCP source code?
For what? TCP is a protocol and vendors implement the protocol themselves according to the relevent RFCs. Microsoft has theirs, Apple has theirs, Google has theirs etc etc. There are various open source implementations available. The Linux version is at http://lxr.linux.no/#linux+v2.6.37/net/ipv4/tcp_ipv4.c
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
February 13th, 2017, 02:51 PM
#3
Re: Actual TCP code
Is there anyway to find the actual TCP source code? I know we can find the different operations TCP performs but what is the actual code?
Rather than ask about "the actual TCP source code" you should have better described your actual problem!
Victor Nijegorodov
-
February 13th, 2017, 03:34 PM
#4
Re: Actual TCP code
Originally Posted by VictorN
Rather than ask about "the actual TCP source code" you should have better described your actual problem!
My problem is this, I'm a studying Network Specialist at an IT college and I've been wondering for awhile, how TCP is actually implemented. We all hear about TCP, IP, DHCP, but I want to know the actual code behind them. Thankfully, I know that TCP is actually observed in RFC's which are then translated into some sort of usable code per OS.
-
February 13th, 2017, 04:04 PM
#5
Re: Actual TCP code
Well, presuming there is a TCP/IP Protocol Architecture ( see https://technet.microsoft.com/en-us/.../cc958821.aspx ) what layer do you mean to have source code for?
Victor Nijegorodov
-
December 6th, 2017, 01:38 AM
#6
Re: Actual TCP code
Hello guys! So where is solution? I need help with this issue too, can't find anything at the links you have posed. Best
Last edited by 2kaud; December 6th, 2017 at 03:31 AM.
Reason: Removed advertisment link
-
December 6th, 2017, 02:13 AM
#7
Re: Actual TCP code
Originally Posted by crystalkranz
Hello guys! So where is solution? I need help with this issue too, can't find anything at the links you have posed. Best
"solution" for what?
Please, define your "this issue"
Last edited by 2kaud; December 6th, 2017 at 03:32 AM.
Victor Nijegorodov
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|