Re: TCP in darwin source code ?
Re: TCP in darwin source code ?
- Subject: Re: TCP in darwin source code ?
- From: "Peter Lovell" <email@hidden>
- Date: Sun, 30 May 2004 15:25:23 -0400
>
Hello !
>
>
>
Does anyone with darwin experience know where the sources to the TCP
>
stack are
>
located, in darwin's src tree ?
>
I think that reading tcp's sourcecode will give me more insights than
>
any book I
>
could read about the subject ^_^
>
>
thanks !
You'll a lot but the learning curve is very steep.
My personal recommendation would be to buy a copy of Stevens, Unix
Network Programming, Volume I. The third edition is the current one
although 2nd would do (you may be able to get 2nd inexpensively).
This not only includes most of the pertinent code in the TCP stack but
also lays out the internal workings. The code used is the same as darwin
(very minor differences).
The code itself is in the "xnu" project. Look at xnu/bsd/net and xnu/bsd/
netinet
Regards.....Peter
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.