若是你只是想直接使用蘋果提供的各類類來與網絡交互,那麼請不要繼續往下看了,請關閉此網頁!!!
Networking
TCP/IP網絡模型分層
- 詳細見,蘋果官方: https://developer.apple.com/library/prerelease/ios/documentation/NetworkingInternet/Conceptual/NetworkingConcepts/NetworkingLayers/NetworkingLayers.html#//apple_ref/doc/uid/TP40012487-CH8-SW1 或 : http://www.cnblogs.com/BlueTzar/articles/811160.html
其次看看別人作的表,下面是詳細圖:
不想看文字,看視頻
http://www.51zxw.net/show.aspx?id=28349&cid=417
注:mac系統下,用ifconfig代替ipconfig便可,想了解更多能夠去看linux或uinx的命令;或者直接在mac的終端下,輸入:man ifconfig查看幫助(man man是查看man命令) 抓包工具下載: http://arthurchen.blog.51cto.com/2483760/710565/html
書本推薦(我的建議仍是看書比較靠譜)
《TCP/IP協議詳解》 http://pan.baidu.com/s/1sj0SVYt#path=%252F
實在看不懂,就看別人的筆記 http://www.cnblogs.com/fengzanfeng/articles/1339347.htmllinux