���] UNIX�W(w��ng)�j(lu��)���̾�1.����(li��n)�W(w��ng)API(��3��)
-
>
�Q��(zh��n)�Мy5000�}(���Z�����c���_)
-
>
ܛ�����ܜyԇ.�����c�{(di��o)��(y��u)���`֮·
-
>
��һ�д��aAndroid
-
>
��ȌW(xu��)��(x��)
-
>
Unreal Engine 4�{�D��ȫ�W(xu��)��(x��)�̳�
-
>
��������Ӌ��Cϵ�y(t��ng)-ԭ����3��
-
>
Word/Excel PPT 2013�k����(y��ng)�Ï����T����ͨ-(��ٛ1DVD.���Z��ҕ�l�̌W(xu��)+�k��ģ��+PDF��ӕ�)
UNIX�W(w��ng)�j(lu��)���̾�1.����(li��n)�W(w��ng)API(��3��) ���(qu��n)��Ϣ
- ISBN��9787115517791
- �l�δa��9787115517791 ; 978-7-115-51779-1
- �b����ƽ�b-�zӆ
- �Ԕ�(sh��)�����o
- ���������o
- ���ٷ��>>
UNIX�W(w��ng)�j(lu��)���̾�1.����(li��n)�W(w��ng)API(��3��) ������ɫ
������UNIX�W(w��ng)�j(lu��)���̵Ľ�(j��ng)��֮��������ȫ������ؽ�B�����ʹ������API�M�оW(w��ng)�j(lu��)������ȫ��������B�˻������̃�(n��i)����߀���w���c���־������P(gu��n)�ĸ����}�����ڿ͑� ����(w��)������ĸ��N�O(sh��)Ӌ����Ҳ����������̽ӑ��*��߀������������@�N�O(sh��)���(q��)�әC���� ������(n��i)��Ԕ�M�Ҿߙ�(qu��n)��������ÿ�¶��ṩ���x����(x��)�}�����ṩ�˲�����(x��)�}�Ĵ𰸣��ǾW(w��ng)�j(lu��)�о����_�l(f��)�ˆT����ą�������
UNIX�W(w��ng)�j(lu��)���̾�1.����(li��n)�W(w��ng)API(��3��) ��(n��i)�ݺ���
������UNIX�W(w��ng)�j(lu��)���̵Ľ�(j��ng)��֮��������ȫ������ؽ�B�����ʹ������API�M�оW(w��ng)�j(lu��)������ȫ��������B�˻������̃�(n��i)����߀���w���c���־������P(gu��n)�IJ��e���}�����ڿ͑�/����(w��)������ĸ��N�O(sh��)Ӌ����Ҳ����������̽ӑ���ܺ�߀������������@�N�O(sh��)���(q��)�әC���� ������(n��i)��Ԕ�M�Ҿ߷dz����e������ÿ�¶��ṩ���x����(x��)�}�����ṩ�˲�����(x��)�}�Ĵ����ǾW(w��ng)�j(lu��)�о����_�l(f��)�ˆT����ą�������
UNIX�W(w��ng)�j(lu��)���̾�1.����(li��n)�W(w��ng)API(��3��) Ŀ�
�� һ���� �����TCP IP
�� 1�� ���� 2
1.1 ���� 2
1.2 һ�����εĕr�g�@ȡ�͑����� 5
1.3 �f(xi��)�h�o�P(gu��n)�� 9
1.4 �e�`̎������������(sh��) 10
1.5 һ�����εĕr�g�@ȡ����(w��)������ 12
1.6 �����п͑� ����(w��)������ʾ�������� 14
1.7 OSIģ�� 16
1.8 BSD�W(w��ng)�j(lu��)֧�֚vʷ 17
1.9 �yԇ�þW(w��ng)�j(lu��)�����C�� 19
1.10 Unix��(bi��o)��(zh��n) 22
1.11 64λ�wϵ�Y(ji��)��(g��u) 24
1.12 �Y(ji��)�� 25
��(x��)�} 25
�� 2�� ��ݔ�ӣ�TCP��UDP��SCTP 27
2.1 ���� 27
2.2 ���D 27
2.3 ����(sh��)��(j��)��f(xi��)�h��UDP�� 29
2.4 ��ݔ���ƅf(xi��)�h��TCP�� 30
2.5 �����Ƃ�ݔ�f(xi��)�h��SCTP�� 31
2.6 TCP�B�ӵĽ����ͽKֹ 31
2.7 TIME_WAIT��B(t��i) 37
2.8 SCTP�P(gu��n)(li��n)�Ľ����ͽKֹ 38
2.9 �˿�̖�� 42
2.10 TCP�˿�̖�c���l(f��)����(w��)�� 43
2.11 ���_�^(q��)�������� 45
2.12 ��(bi��o)��(zh��n)���ؾW(w��ng)����(w��) 50
2.13 ��Ҋ���ؾW(w��ng)��(y��ng)�õąf(xi��)�hʹ�� 51
2.14 �Y(ji��) 52
��(x��)�} 53
�ڶ����� �������־���
��3�� ���־��̺��� 56
3.1 ���� 56
3.2 ���ֵ�ַ�Y(ji��)��(g��u) 56
3.3 ֵ—�Y(ji��)������(sh��) 61
3.4 �ֹ�(ji��)����(sh��) 63
3.5 �ֹ�(ji��)�ٿv����(sh��) 66
3.6 inet_aton��inet_addr��inet_ntoa����(sh��) 67
3.7 inet_pton��inet_ntop����(sh��) 68
3.8 sock_ntop�����P(gu��n)����(sh��) 70
3.9 readn��writen��readline����(sh��) 72
3.10 �Y(ji��) 76
��(x��)�} 76
��4�� ����TCP���־��� 77
4.1 ���� 77
4.2 socket����(sh��) 77
4.3 connect����(sh��) 80
4.4 bind����(sh��) 81
4.5 listen����(sh��) 84
4.6 accept����(sh��) 88
4.7 fork��exec����(sh��) 90
4.8 ���l(f��)����(w��)�� 91
4.9 close����(sh��) 93
4.10 getsockname��getpeername����(sh��) 94
4.11 �Y(ji��) 96
��(x��)�} 96
��5�� TCP�͑� ����(w��)������ʾ�� 97
5.1 ���� 97
5.2 TCP�������(w��)������main����(sh��) 97
5.3 TCP�������(w��)������str_echo����(sh��) 98
5.4 TCP����͑�����main����(sh��) 99
5.5 TCP����͑�����str_cli����(sh��) 100
5.6 �������� 101
5.7 �����Kֹ 102
5.8 POSIX��̖̎�� 103
5.9 ̎��SIGCHLD��̖ 106
5.10 wait��waitpid����(sh��) 108
5.11 accept����ǰ�B����ֹ 111
5.12 ����(w��)���M�̽Kֹ 112
5.13 SIGPIPE��̖ 113
5.14 ����(w��)�����C���� 114
5.15 ����(w��)�����C�������؆� 115
5.16 ����(w��)�����C�P(gu��n)�C 116
5.17 TCP���������Y(ji��) 116
5.18 ��(sh��)��(j��)��ʽ 117
5.19 �Y(ji��) 120
��(x��)�} 120
��6�� I O��(f��)�ã�select��poll����(sh��) 122
6.1 ���� 122
6.2 I Oģ�� 122
6.3 select����(sh��) 127
6.4 str_cli����(sh��)����ӆ�棩 132
6.5 ����ݔ�� 133
6.6 shutdown����(sh��) 136
6.7 str_cli����(sh��)������ӆ�棩 137
6.8 TCP�������(w��)��������ӆ�棩 138
6.9 pselect����(sh��) 142
6.10 poll����(sh��) 144
6.11 TCP�������(w��)����������ӆ�棩 146
6.12 �Y(ji��) 148
��(x��)�} 149
��7�� �����x� 150
7.1 ���� 150
7.2 getsockopt��setsockopt����(sh��) 150
7.3 �z���x��Ƿ���֧�ֲ��@ȡĬ�J(r��n)ֵ 152
7.4 ���֠�B(t��i) 156
7.5 ͨ�������x� 156
7.6 IPv4�����x� 168
7.7 ICMPv6�����x� 169
7.8 IPv6�����x� 169
7.9 TCP�����x� 171
7.10 SCTP�����x� 173
7.11 fcntl����(sh��) 182
7.12 �Y(ji��) 184
��(x��)�} 184
��8�� ����UDP���־��� 186
8.1 ���� 186
8.2 recvfrom��sendto����(sh��) 187
8.3 UDP�������(w��)������main����(sh��) 187
8.4 UDP�������(w��)������dg_echo����(sh��) 188
8.5 UDP����͑�����main����(sh��) 190
8.6 UDP����͑�����dg_cli����(sh��) 190
8.7 ��(sh��)��(j��)��āGʧ 191
8.8 ��C���յ���푑�(y��ng) 191
8.9 ����(w��)���M��δ�\�� 193
8.10 UDP���������Y(ji��) 194
8.11 UDP��connect����(sh��) 196
8.12 dg_cli����(sh��)����ӆ�棩 199
8.13 UDPȱ���������� 200
8.14 UDP�е�����ӿڵĴ_�� 203
8.15 ʹ��select����(sh��)��TCP��UDP�������(w��)������ 204
8.16 �Y(ji��) 206
��(x��)�} 207
��9�� ����SCTP���־��� 208
9.1 ���� 208
9.2 �ӿ�ģ�� 208
9.3 sctp_bindx����(sh��) 212
9.4 sctp_connectx����(sh��) 213
9.5 sctp_getpaddrs����(sh��) 213
9.6 sctp_freepaddrs����(sh��) 213
9.7 sctp_getladdrs����(sh��) 214
9.8 sctp_freeladdrs����(sh��) 214
9.9 sctp_sendmsg����(sh��) 214
9.10 sctp_recvmsg����(sh��) 215
9.11 sctp_opt_info����(sh��) 215
9.12 sctp_peeloff����(sh��) 216
9.13 shutdown����(sh��) 216
9.14 ֪ͨ 217
9.15 �Y(ji��) 221
��(x��)�} 222
�� 10�� SCTP�͑� ����(w��)���������� 223
10.1 ���� 223
10.2 SCTPһ����ʽ���ֻ������(w��)������main����(sh��) 223
10.3 SCTPһ����ʽ���ֻ���͑�����main����(sh��) 225
10.4 SCTP���ֻ���͑�����sctpstr_cli����(sh��) 226
10.5 ̽���^������ 228
10.6 �������Ĕ�(sh��)Ŀ 233
10.7 ���ƽK�Y(ji��) 233
10.8 �Y(ji��) 234
��(x��)�} 235
�� 11�� �����c��ַ�D(zhu��n)�Q 236
11.1 ���� 236
11.2 ����ϵ�y(t��ng) 236
11.3 gethostbyname����(sh��) 239
11.4 gethostbyaddr����(sh��) 242
11.5 getservbyname��getservbyport����(sh��) 242
11.6 getaddrinfo����(sh��) 245
11.7 gai_strerror����(sh��) 250
11.8 freeaddrinfo����(sh��) 251
11.9 getaddrinfo����(sh��)��IPv6 251
11.10 getaddrinfo����(sh��)������ 253
11.11 host_serv����(sh��) 254
11.12 tcp_connect����(sh��) 254
11.13 tcp_listen����(sh��) 257
11.14 udp_client����(sh��) 261
11.15 udp_connect����(sh��) 263
11.16 udp_server����(sh��) 264
11.17 getnameinfo����(sh��) 266
11.18 �����뺯��(sh��) 267
11.19 gethostbyname_r��gethostbyaddr_r����(sh��) 270
11.20 ���U��IPv6��ַ��������(sh��) 271
11.21 �����W(w��ng)�j(lu��)���P(gu��n)��Ϣ 272
11.22 �Y(ji��) 273
��(x��)�} 274
�������� �����־���
�� 12�� IPv4�cIPv6�Ļ������� 278
12.1 ���� 278
12.2 IPv4�͑��cIPv6����(w��)�� 278
12.3 IPv6�͑��cIPv4����(w��)�� 281
12.4 IPv6��ַ�yԇ�� 283
12.5 Դ���a����ֲ�� 284
12.6 �Y(ji��) 284
��(x��)�} 285
�� 13�� ���o�M�̺�inetd��������(w��)�� 286
13.1 ���� 286
13.2 syslogd���o�M�� 286
13.3 syslog����(sh��) 287
13.4 daemon_init����(sh��) 289
13.5 inetd���o�M�� 293
13.6 daemon_inetd����(sh��) 297
13.7 �Y(ji��) 299
��(x��)�} 299
�� 14�� ��I O����(sh��) 300
14.1 ���� 300
14.2 ���ֳ��r 300
14.3 recv��send����(sh��) 305
14.4 readv��writev����(sh��) 306
14.5 recvmsg��sendmsg����(sh��) 307
14.6 �o����(sh��)��(j��) 310
14.7 ��꠵Ĕ�(sh��)��(j��)�� 313
14.8 ���ֺ͘�(bi��o)��(zh��n)I O 313
14.9 ��݆ԃ���g(sh��) 316
14.10 T TCP����(w��)Ŀ��TCP 320
14.11 �Y(ji��) 322
��(x��)�} 323
�� 15�� Unix��f(xi��)�h 324
15.1 ���� 324
15.2 Unix�����ֵ�ַ�Y(ji��)��(g��u) 324
15.3 socketpair����(sh��) 326
15.4 ���ֺ���(sh��) 327
15.5 Unix���ֹ�(ji��)���͑� ����(w��)������ 327
15.6 Unix��(sh��)��(j��)��͑� ����(w��)������ 329
15.7 ���������f 330
15.8 ���հl(f��)���ߵđ{�C 337
15.9 �Y(ji��) 340
��(x��)�} 340
�� 16�� ������ʽI O 341
16.1 ���� 341
16.2 �������x�͌���str_cli����(sh��)
����ӆ�棩 342
16.3 ������connect 351
16.4 ������connect���r�g�@ȡ�͑�
���� 352
16.5 ������connect��Web�͑����� 354
16.6 ������accept 362
16.7 �Y(ji��) 363
��(x��)�} 363
�� 17�� ioctl���� 365
17.1 ���� 365
17.2 ioctl����(sh��) 365
17.3 ���ֲ��� 366
17.4 �ļ����� 367
17.5 �ӿ����� 367
17.6 get_ifi_info����(sh��) 369
17.7 �ӿڲ��� 378
17.8 ARP���پ������ 378
17.9 ·�ɱ����� 380
17.10 �Y(ji��) 381
��(x��)�} 381
�� 18�� ·������ 382
18.1 ���� 382
18.2 ��(sh��)��(j��)�·���ֵ�ַ�Y(ji��)��(g��u) 382
18.3 �x�͌� 383
18.4 sysctl���� 390
18.5 get_ifi_info����(sh��) 394
18.6 �ӿ����ֺ���������(sh��) 397
18.7 �Y(ji��) 401
��(x��)�} 401
�� 19�� ��耹������� 402
19.1 ���� 402
19.2 �x�͌� 403
19.3 �A�a��ȫ�P(gu��n)(li��n)��(sh��)��(j��)�� 404
19.4 ��(chu��ng)���o�B(t��i)��ȫ�P(gu��n)(li��n) 407
19.5 �ӑB(t��i)�S�o��ȫ�P(gu��n)(li��n) 412
19.6 �Y(ji��) 415
��(x��)�} 416
�� 20�� �V�� 417
20.1 ���� 417
20.2 �V����ַ 418
20.3 �β��͏V���ı��^ 419
20.4 ʹ�ÏV����dg_cli����(sh��) 422
20.5 ������B(t��i) 424
20.6 �Y(ji��) 431
��(x��)�} 432
�� 21�� �ಥ 433
21.1 ���� 433
21.2 �ಥ��ַ 433
21.3 ����W(w��ng)�϶ಥ�͏V���ı��^ 436
21.4 �V��W(w��ng)�ϵĶಥ 438
21.5 Դ�ض��ಥ 440
21.6 �ಥ�����x� 441
21.7 mcast_join�����P(gu��n)����(sh��) 445
21.8 ʹ�öಥ��dg_cli����(sh��) 450
21.9 ����IP�ಥ���A(ch��)�O(sh��)ʩ��Ԓ�� 451
21.10 �l(f��)�ͺͽ��� 454
21.11 SNTP�����ξW(w��ng)�j(lu��)�r�g�f(xi��)�h 457
21.12 �Y(ji��) 461
��(x��)�} 461
�� 22�� ��UDP���־��� 462
22.1 ���� 462
22.2 ����(bi��o)־��Ŀ��IP��ַ�ͽӿ����� 462
22.3 ��(sh��)��(j��)��ؔ� 467
22.4 �Εr��UDP����TCP 467
22.5 �oUDP��(y��ng)�����ӿɿ��� 469
22.6 �����ӿڵ�ַ 478
22.7 ���l(f��)UDP����(w��)�� 482
22.8 IPv6�ֽM��Ϣ 483
22.9 IPv6·��MTU���� 486
22.10 �Y(ji��) 487
��(x��)�} 488
�� 23�� ��SCTP���־��� 489
23.1 ���� 489
23.2 �Ԅ��P(gu��n)�]��һ����ʽ����(w��)������ 489
23.3 �����f�� 490
23.4 ֪ͨ 492
23.5 �o��Ĕ�(sh��)��(j��) 495
23.6 ������ַ�Ӽ� 496
23.7 �_�����˺ͱ��˵�ַ��Ϣ 497
23.8 �o��IP��ַ�ҳ��P(gu��n)(li��n)ID 500
23.9 �IJ��͵�ַ�����_ 501
23.10 �P(gu��n)(li��n)���x 502
23.11 ���r���� 503
23.12 �Εr����SCTP����TCP 505
23.13 �Y(ji��) 506
��(x��)�} 506
�� 24�� ���┵(sh��)��(j��) 507
24.1 ���� 507
24.2 TCP���┵(sh��)��(j��) 507
24.3 sockatmark����(sh��) 513
24.4 TCP���┵(sh��)��(j��)С�Y(ji��) 519
24.5 �͑� ����(w��)���IJ�����(sh��) 520
24.6 �Y(ji��) 524
��(x��)�} 524
�� 25�� ��̖�(q��)��ʽI O 525
25.1 ���� 525
25.2 ���ֵ���̖�(q��)��ʽI O 525
25.3 ʹ��SIGIO��UDP�������(w��)������ 527
25.4 �Y(ji��) 532
��(x��)�} 533
�� 26�� ���� 534
26.1 ���� 534
26.2 �������̺���(sh��)����(chu��ng)���ͽKֹ 535
26.3 ʹ�þ��̵�str_cli����(sh��) 537
26.4 ʹ�þ��̵�TCP�������(w��)������ 538
26.5 �����ض���(sh��)��(j��) 542
26.6 Web�͑��cͬ�r�B�� 549
26.7 �����i 552
26.8 �l��׃�� 555
26.9 Web�͑��cͬ�r�B�ӣ��m(x��)�� 558
26.10 �Y(ji��) 560
��(x��)�} 560
�� 27�� IP�x� 561
27.1 ���� 561
27.2 IPv4�x� 561
27.3 IPv4Դ·���x� 562
27.4 IPv6�Uչ�ײ� 569
27.5 IPv6�����x헺�Ŀ�ĵ��x� 569
27.6 IPv6·���ײ� 573
27.7 IPv6ճ���x� 577
27.8 �vʷ��IPv6��API 578
27.9 �Y(ji��) 579
��(x��)�} 579
�� 28�� ԭʼ���� 580
28.1 ���� 580
28.2 ԭʼ���ք�(chu��ng)�� 580
28.3 ԭʼ����ݔ�� 581
28.4 ԭʼ����ݔ�� 582
28.5 ping���� 584
28.6 traceroute���� 596
28.7 һ��ICMP��Ϣ���o���� 608
28.8 �Y(ji��) 622
��(x��)�} 622
�� 29�� ��(sh��)��(j��)�·�L�� 623
29.1 ���� 623
29.2 BPF��BSD�ֽM�^�V�� 623
29.3 DLPI����(sh��)��(j��)�·�ṩ�߽ӿ� 625
29.4 Linux��SOCK_PACKET��
PF_PACKET 626
29.5 libpcap���ֽM���@����(sh��)�� 627
29.6 libnet���ֽM��(g��u)���cݔ������(sh��)�� 627
29.7 �z��UDP��У���ֶ� 628
29.8 �Y(ji��) 645
��(x��)�} 645
��30�� �͑� ����(w��)�������O(sh��)Ӌ��ʽ 646
30.1 ���� 646
30.2 TCP�͑������O(sh��)Ӌ��ʽ 648
30.3 TCP�yԇ�ÿ͑����� 649
30.4 TCP��������(w��)������ 650
30.5 TCP���l(f��)����(w��)������
ÿ���͑�һ�����M�� 650
30.6 TCP�A(y��)���������M�̷���(w��)��������accept�o���i���o 653
30.7 TCP�A(y��)���������M�̷���(w��)������acceptʹ���ļ����i���o 659
30.8 TCP�A(y��)���������M�̷���(w��)��������acceptʹ�þ������i���o 662
30.9 TCP�A(y��)���������M�̷���(w��)�����������f������ 663
30.10 TCP���l(f��)����(w��)��������ÿ���͑�һ������ 667
30.11 TCP�A(y��)�Ȅ�(chu��ng)�����̷���(w��)��������ÿ�����̸���accept 669
30.12 TCP�A(y��)�Ȅ�(chu��ng)�����̷���(w��)�������������̽y(t��ng)һaccept 671
30.13 �Y(ji��) 673
��(x��)�} 674
��31�� �� 675
31.1 ���� 675
31.2 ��ò 675
31.3 getmsg��putmsg����(sh��) 678
31.4 getpmsg��putpmsg����(sh��) 679
31.5 ioctl����(sh��) 680
31.6 TPI����ݔ�ṩ�߽ӿ� 680
31.7 �Y(ji��) 689
��(x��)�} 689
���A IPv4��IPv6��ICMPv4��ICMPv6 690
���B ̓�M�W(w��ng)�j(lu��) 704
���C �{(di��o)ԇ���g(sh��) 708
���D �s����Դ���a 714
���E ���x��(x��)�}�� 726
�����īI 756
���� 763
UNIX�W(w��ng)�j(lu��)���̾�1.����(li��n)�W(w��ng)API(��3��) ���ߺ���
W. �����·ʷ����˹��W. Richard Stevens����1951—1999�� ���H֪����UNIX�;W(w��ng)�j(lu��)���ң�����ٝ�u�ļ��g(sh��)��������ǰ���С�TCP IPԔ�⡷������������UNIX�h(hu��n)�������̡��͡�UNIX�W(w��ng)�j(lu��)���̡����ɾ��������鲻��Ľ�(j��ng)�������� �Ƞ�·�Ҽ{��Bill Fenner�� AT&T����������о��T������IP�ಥ���W(w��ng)�j(lu��)�����͜y��������IETF·�ɵ��I(l��ng)������֮һ����RFC��(bi��o)��(zh��n)�ęn������(zh��n)���� ������·M. ��?sh��)���Andrew M.Rudoff�� Sun��˾�Y��ܛ�����̎��������W(w��ng)�j(lu��)������ϵ�y(t��ng)��(n��i)�ˡ��ļ�ϵ�y(t��ng)�߿�����ܛ���wϵ�Y(ji��)��(g��u)��
- >
����c�ƴ��Ļ�
- >
Ԋ��(j��ng)-����ĸ質
- >
����
- >
�ƴ��Mʿ�
- >
������
- >
�ͽ���˼�
- >
�Ї��vʷ��˲�g
- >
ʷ�W(xu��)�uՓ