{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

TCP/IP网络编程

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

TCP/IP网络编程

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

为初学者准备的网络编程


TCP/IP网络编程》涵盖操作系统、系统编程、TCP/IP协议等多种内容,结构清晰、讲解细致、通俗易懂。此书面向利用套接字进行网络编程的初学者,具备C语言基础知识的读者会获得更多帮助。书中收录了丰富的示例,详细展现了Linux和Windows平台下套接字编程的共性与个性。特别是从代码角度说明了不同模型服务器端的区别,还包括了条件触发与边缘触发等知识,对开发实践也有很大帮助。

Content Description

《TCP/IP网络编程》涵盖操作系统、系统编程、TCP/IP协议等多种内容,结构清晰、讲解细致、通俗易懂。书中收录丰富示例,详细展现了Linux和Windows平台下套接字编程的共性与个性。特别是从代码角度说明了不同模型服务器端的区别,还包括了条件触发与边缘触发等知识,对开发实践也有很大帮助。
《TCP/IP网络编程》针对网络编程初学者,面向具备C语言基础的套接字网络编程学习者,适合所有希望学习Linux和Windows网络编程的人。

Author Description

尹圣雨,曾为风投公司开发人员,因出版IT类书籍并开展相关讲座而闻名。2004年至今一直参与OpenGL ES图形库的建设和3D加速芯片的开发,以及Khronos Group(移动国际标准化财团)的标准制定相关业务,还参与手机DMB芯片的开发。现任(株)Axissoft公司CTO,致力于构建基于Web的解决方案。

Catalogue

第一部分开始网络编程

第1章理解网络编程和套接字2
1.1理解网络编程和套接字2
1.2基于Linux的文件操作9
1.3基于Windows平台的实现15
1.4基于Windows的套接字相关函数及示例18
1.5习题24

第2章套接字类型与协议设置26
2.1套接字协议及其数据传输特性26
2.2Windows平台下的实现及验证32
2.3习题35

第3章地址族与数据序列36
3.1分配给套接字的IP地址与端口号36
3.2地址信息的表示39
3.3网络字节序与地址变换42
3.4网络地址的初始化与分配45
3.5基于Windows的实现52
3.6习题57

第4章基于TCP的服务器端/客户端(1)59
4.1理解TCP和UDP59
4.2实现基于TCP的服务器端/客户端64
4.3实现迭代服务器端/客户端71
4.4基于Windows的实现77
4.5习题81

第5章基于TCP的服务器端/客户端(2)82
5.1回声客户端的完美实现82
5.2TCP原理91
5.3基于Windows的实现96
5.4习题99

第6章基于UDP的服务器端/客户端101
6.1理解UDP101
6.2实现基于UDP的服务器端/客户端103
6.3UDP的数据传输特性和调用connect函数109
6.4基于Windows的实现114
6.5习题117

第7章优雅地断开套接字连接118
7.1基于TCP的半关闭118
7.2基于Windows的实现124
7.3习题127

第8章域名及网络地址128
8.1域名系统128
8.2IP地址和域名之间的转换130
8.3基于Windows的实现136
8.4习题138

第9章套接字的多种可选项140
9.1套接字可选项和I/O缓冲大小140
9.2SO_REUSEADDR145
9.3TCP_NODELAY150
9.4基于Windows的实现152
9.5习题154

第10章多进程服务器端155
10.1进程概念及应用155
10.2进程和僵尸进程159
10.3信号处理165
10.4基于多任务的并发服务器173
10.5分割TCP的I/O程序178
10.6习题182

第11章进程间通信183
11.1进程间通信的基本概念183
11.2运用进程间通信188
11.3习题193

第12章I/O复用194
12.1基于I/O复用的服务器端194
12.2理解select函数并实现服务器端197
12.3基于Windows的实现206
12.4习题209

第13章多种I/O函数211
13.1send & recv函数211
13.2readv & writev函数221
13.3基于Windows的实现225
13.4习题229

第14章多播与广播230
14.1多播230
14.2广播236
14.3基于Windows的实现240
14.4习题242

第二部分基于Linux的编程

第15章套接字和标准I/O246
15.1标准I/O函数的优点246
15.2使用标准I/O函数249
15.3基于套接字的标准I/O函数使用252
15.4习题254

第16章关于I/O流分离的其他内容255
16.1分离I/O流255
16.2文件描述符的复制和半关闭259
16.3习题264

第17章优于select的epoll265
17.1epoll理解及应用265
17.2条件触发和边缘触发273
17.3习题283

第18章多线程服务器端的实现284
18.1理解线程的概念284
18.2线程创建及运行287
18.3线程存在的问题和临界区296
18.4线程同步299
18.5线程的销毁和多线程并发服务器端的实现306
18.6习题312

第三部分基于Windows的编程

第19章Windows平台下线程的使用316
19.1内核对象316
19.2基于Windows的线程创建317
19.3内核对象的2种状态322
19.4习题325

第20章Windows中的线程同步327
20.1同步方法的分类及CRITICAL_SECTION同步327
20.2内核模式的同步方法331
20.3Windows平台下实现多线程服务器端339
20.4习题343

第21章异步通知I/O模型344
21.1理解异步通知I/O模型344
21.2理解和实现异步通知I/O模型346
21.3习题356

第22章重叠I/O模型357
22.1理解重叠I/O模型357
22.2重叠I/O的I/O完成确认362
22.3习题370

第23章IOCP371
23.1通过重叠I/O理解IOCP371
23.2分阶段实现IOCP程序379
23.3习题387

第四部分结束网络编程

第24章制作HTTP服务器端390
24.1HTTP概要390
24.2实现简单的Web服务器端394
24.3习题401

第25章进阶内容403
25.1网络编程学习的其他内容403
25.2网络编程相关书籍介绍404

索引406

Introduction

作者序
为初学者准备的网络编程
我曾有一段时间痴迷于学习网络编程,那时关注的重点是网络技术,也因此走上了网络编程之路。现在回想起来也没有什么特别的理由,只是因为我个人认为网络编程是程序员的基本功。当时学完C和C++后,我购买了外国知名作者撰写的网络编程书。虽然是英文书,而且内容较多,但我对自己的网络技术和编程技术相当自信,选书的时候毫不犹豫。但不到一周就实在看不下去了,并不是因为书的质量没有想象的那么好,或者有英文障碍,主要是因为自己连书中示例都无法正常调试通过。
之后,我在大学研究室和公司接触了大量开发人员,逐渐对各个领域有了更深入的认识,也因此产生了重拾书本的勇气。再去读的时候发现原书写得的确非常棒。
我并不是特别聪明或理解力特别强的人,所以花费大量时间学习了属于程序员必修课的操作系统和算法。对我而言,学习知名的计算机理论原著是不小的负担。当时的我最需要的是通俗易懂的书,并不是笼统的叙述,而是详细的说明,同时符合我的水平。
如果各位与我当年的水平一样,那本书正是为大家准备的。对于已经掌握大量网络编程相关知识并希望得到提升的读者而言,本书可能过于简单。而第一次接触网络编程的读者,或者在学习过程中像我一样受过挫折的读者,都能通过本书获得很大帮助。
我在书中也尝试探讨了更多深层问题,但同时又担心读者对此产生抵触情绪。感谢那些选择本书并给予好评的读者们!
借此机会,我要感谢韩浩、智秀、胜熙、朱英及其学生帮我修改病句和错别字。另外,向智敏(不允许我在家工作而只能休息)、智律(对不起,没能抱着你陪你玩)和他们的“队长”燕淑表示深深的歉意。
最后,感谢敬爱的母亲,您一直为深夜还在写书的我而操心。感谢宋盛根组长、李升振组长,你们让我懂得写书并非一人之力。感谢帮助我完善本书的编辑们。感谢对本书提出宝贵意见的同事们,以及鼓励并祝福我的所有朋友们。
尹圣雨

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book