Lecture TCP-IP protocol suite - Chapter 16: Socket interface

The main contents of this chapter include all of the following: Some definitions, sockets, byte ordering, address transformation, byte manipulation functions, information about remote host, socket system calls, connectionless iterative server. | Chapter 16 Socket Interface CONTENTS SOME DEFINITIONS SOCKETS BYTE ORDERING ADDRESS TRANSFORMATION BYTE MANIPULATION FUNCTIONS INFORMATION ABOUT REMOTE HOST SOCKET SYSTEM CALLS CONNECTIONLESS ITERATIVE SERVER CONTENTS (continued) UDP CLIENT-SERVER PROGRAMS CONNECTION-ORIENTED CONCURRENT SERVER TCP CLIENT-SERVER PROGRAMS SOME DEFINITIONS Figure 16-1 Data types Figure 16-2 Internet address structure SOCKETS Figure 16-3 Socket address Figure 16-4 Socket structure Figure 16-5 Socket types BYTE ORDERING Figure 16-6 Big-endian byte order Figure 16-7 Little-endian byte order The byte order for the TCP/IP protocol suite is big endian. Figure 16-8 Bite-order transformation Figure 16-9 Declarations for byte-order transformation ADDRESS TRANSFORMATION Figure 16-10 Address transformation Figure 16-11 Declarations for address transformation functions BYTE MANIPULATION FUNCTIONS Figure 16-12 Declarations for byte-manipulation functions INFORMATION ABOUT REMOTE HOST Figure 16-13 Declaration for gethostbyname Figure 16-14 Hostent structure SOCKET SYSTEM CALLS Figure 16-15 Declaration for socket function Figure 16-16 Declaration for bind function Figure 16-17 Declaration for connect function Figure 16-18 Declaration for listen function Figure 16-19 Declaration for accept function Figure 16-20 Declaration for sendto function Figure 16-21 Declaration for recvfrom function Figure 16-22 Declaration for read function Figure 16-23 Declaration for write function Figure 16-24 Declaration for close function CONNECTIONLESS ITERATIVE SERVER Figure 16-25 Socket interface for connectionless iterative server UDP CLIENT-SERVER PROGRAMS CONNECTION-ORIENTED CONCURRENT SERVER Figure 16-26 Socket interface for connection-oriented concurrent server Figure 16-26 (repeated), Part I Figure 16-26 (repeated), Part II Figure 16-27, Part I Client and Server Figure 16-27, Part II | Chapter 16 Socket Interface CONTENTS SOME DEFINITIONS SOCKETS BYTE ORDERING ADDRESS TRANSFORMATION BYTE MANIPULATION FUNCTIONS INFORMATION ABOUT REMOTE HOST SOCKET SYSTEM CALLS CONNECTIONLESS ITERATIVE SERVER CONTENTS (continued) UDP CLIENT-SERVER PROGRAMS CONNECTION-ORIENTED CONCURRENT SERVER TCP CLIENT-SERVER PROGRAMS SOME DEFINITIONS Figure 16-1 Data types Figure 16-2 Internet address structure SOCKETS Figure 16-3 Socket address Figure 16-4 Socket structure Figure 16-5 Socket types BYTE ORDERING Figure 16-6 Big-endian byte order Figure 16-7 Little-endian byte order The byte order for the TCP/IP protocol suite is big endian. Figure 16-8 Bite-order transformation Figure 16-9 Declarations for byte-order transformation ADDRESS TRANSFORMATION Figure 16-10 Address transformation Figure 16-11 Declarations for address transformation functions BYTE MANIPULATION FUNCTIONS Figure 16-12 Declarations for byte-manipulation functions INFORMATION ABOUT REMOTE HOST .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.