Windows Sockets Network Programming

Bob Quinn, David Shute

  • 出版商: Addison Wesley
  • 出版日期: 1995-12-04
  • 售價: $2,510
  • 貴賓價: 9.5$2,385
  • 語言: 英文
  • 頁數: 656
  • 裝訂: Hardcover
  • ISBN: 0201633728
  • ISBN-13: 9780201633726
  • 已絕版

買這商品的人也買了...

相關主題

商品描述


Table Of Contents

Foreword.
Preface.
1. Introduction to Windows Sockets.
What is Windows Sockets?
What is its History?
What Are its Benefits?
What is its Future?
Conclusion.

2. Windows Sockets Concepts.
The OSI Network Model.
The WinSock Network Model.
OSI Layers in WinSock.
Modular Boxes.
Services and Protocols.
Protocols and APIs.

3. TCP/IP Protocol Services.
What is TCP/IP?
What is its History?
Transport Services.
Network Services.
Support Protocols and Services.
What is its Future?

4. Network Application Mechanics.
Client-Server Model.
Network Program Sketch.
Open a Socket.
Name the Socket.
Associate with Another Socket.
Send and Receive between Sockets.
Close the Socket.
Client and Server Sketches.

5. Operation Modes.
What Are Operation Modes?
Blocking Mode.
Nonblocking Mode.
Asynchronous Mode.
Performance Differences.
Platform Differences.
Blocking is Real.

6. Socket States.
What Are the Socket States?
What Are the Methods of Detection?
WSAAsyncSelect ().
Select ().
Peeking at Data.
Out-of-Band Data.
The Listening State.

7. Sample Application and Library.
Sample FTP Client.
Sample Library.
WinSockx.h.

8. Host Names and Addresses.
Hostname and Address Resolution.
Host Table, DNS, and NIS.
Local Host Information.
Addresses and Formatting.
Protocol and Address Families.

9. Socket Information and Control.
Socket Control.
Socket Options.
Blocking Hooks.
Socket Names.

10. Support Routines.
Startup and Cleanup.
Byte Ordering.
Service Names and Ports.
Protocol Names and Numbers.
Error Reporting.

11. DLLs over WinSock.
Creating a New API.
DLL Issues.
Sample DLL.

12. Porting from BSD Sockets.
Differences to Consider.
Sixteen-bit Windows Considerations.
Incidentals.
Functions List.

13. Debugging.
Problem Types.
What Failed, and How Did It Fail?
Problem Qualification.
Installation Debugging.
Network Debugging.
Application Debugging.
Debugging Tools.

14. Dos and Don'ts.
Characterizing Your Application.
Application Data Flow.
Stream Algorithms.
Datagram Algorithms.
Good-News Code.
Common Traps and Pitfalls.

15. Platforms.
The WOSA Network Model.
Thirty-two-bit WinSock.
Other Platforms.

16. Optional Features.
Optional Standard is an Oxymoron.
Should You Use Optional Features?
Raw Sockets.
Multicast.
Loopback.
Sharing Sockets.
Optional Options.
Sockets as File Handles.
Expect Any Error Anywhere.
Other Optional Features.

17. WinSock 2.
Do You Need WinSock 2?
Overview of Features.
Multiple Protocol Support.
Overlapped I/O.
Scatter and Gather.
Quality of Service.
Socket Groups.
Multipoint and Multicast.
Conditional Acceptance.
Connect and Disconnect Data.
Socket Sharing.
Protocol-Specific Additions.

Appendix A. TCP/IP Protocol Headers.
Layering within TCP/IP Packets.
ARP Header.
IP Header.
ICMP Header.
IGMP Header.
TCP Header.
UDP Header.
Sample Dialogs.

Appendix B. Quick Reference.
Structures.
Functions.
Macros.

Appendix C. Error Reference.
Where to Get Error Values.
What Errors to Expect.
User-fixable Errors.
Detailed Error Descriptions.
Errors in Numerical Order.

Appendix D. What You Need.
Essential Files.
Compile and Link Mechanics.
Using Different WinSocks.
Using Different Languages.

Appendix E. Information Sources.
Internet Sources.
Bibliography.

Index. 0201633728T04062001


Back to Top