Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
1Activity

Table Of Contents

2.3. Function Extension Mechanism
2.4. Debug and Trace Facilities
2.5. Protocol Independent Name Resolution
2.6. Overlapped I/O and Event Objects
2.6.1. Event Objects
2.6.2. Receiving Completion Indications
2.6.2.1. Blocking and Waiting for Completion Indication
2.6.2.2. Polling for Completion Indication
2.6.2.3. Using socket I/O completion routines
2.6.2.4. Summary of overlapped completion indication mechanisms
2.6.3. WSAOVERLAPPED Details
2.7. Asynchronous Notification Using Event Objects
2.8. Quality of Service
2.8.1. The QOS Structure
2.8.2. QOS Templates
2.8.3. Default Values
2.9. Socket Groups
2.10. Shared Sockets
2.11. Enhanced Functionality During Connection Setup and Teardown
2.12. Extended Byte Order Conversion Routines
2.13. Support for Scatter/Gather I/O
2.14. Protocol-Independent Multicast and Multipoint
2.15. Summary of New Socket Options
2.16. Summary of New Socket Ioctl Opcodes
2.17. Summary of New Functions
2.17.1. Generic Data Transport Functions
2.17.2. Name Registration and Resolution Functions
3. Windows Sockets Programming Considerations
3.1. Deviation from BSD Sockets
3.1.1. Socket Data Type
3.1.2. select() and FD_*
3.1.3. Error codes - errno, h_errno & WSAGetLastError()
3.1.4. Pointers
3.1.5. Renamed functions
3.1.5.1. close() and closesocket()
3.1.5.2. ioctl() and ioctlsocket()/WSAIoctl()
3.1.6. Maximum number of sockets supported
3.1.7. Include files
3.1.8. Return values on function failure
3.1.9. Raw Sockets
3.2. Byte Ordering
3.3. WinSock 1.1 Compatibility Issues
3.3.1. Default state for a socket’s overlapped attribute
3.3.2. Winsock 1.1 Blocking routines & EINPROGRESS
3.4. Graceful shutdown, linger options and socket closure
3.5. Out-Of-Band data
3.5.1. Protocol Independent OOB data
3.5.2. OOB data in TCP
3.6. Summary of WinSock 2 Functions
3.6.1. BSD Socket Functions
3.6.2. Microsoft Windows-specific Extension Functions
4. SOCKET LIBRARY REFERENCE
4.1. accept()
4.2. bind()
4.3. closesocket()
4.4. connect()
4.7. getsockopt()
4.8. htonl()
4.9. htons()
4.10. ioctlsocket()
4.11. listen()
4.12. ntohl()
4.13. ntohs()
4.14. recv()
4.15. recvfrom()
4.16. select()
4.17. send()
4.18. sendto()
4.19. setsockopt()
4.20. shutdown()
4.21. socket()
4.22. WSAAccept()
4.23. WSAAsyncSelect()
4.24. WSACancelBlockingCall()
4.25. WSACleanup()
4.26. WSACloseEvent()
4.27. WSAConnect()
4.28. WSACreateEvent()
4.29. WSADuplicateSocket()
4.30. WSAEnumNetworkEvents()
4.31. WSAEnumProtocols()
4.32. WSAEventSelect()
4.33. WSAGetLastError()
4.34. WSAGetOverlappedResult()
4.35. WSAGetQOSByName()
4.36. WSAHtonl()
4.37. WSAHtons()
4.38. WSAIoctl()
4.39. WSAIsBlocking()
4.40. WSAJoinLeaf()
4.41. WSANtohl()
4.42. WSANtohs()
4.43. WSARecv()
4.44. WSARecvDisconnect()
4.45. WSARecvFrom()
4.46. WSAResetEvent()
4.47. WSASend()
4.48. WSASendDisconnect()
4.49. WSASendTo()
4.50. WSASetBlockingHook()
4.51. WSASetEvent()
4.52. WSASetLastError()
4.53. WSASocket()
4.54. WSAStartup()
4.55. WSAUnhookBlockingHook()
4.56. WSAWaitForMultipleEvents()
4.57. WSAProviderConfigChange()
5. Name Resolution and Registration
5.1. Protocol-Independent Name Resolution
5.1.1. Name Resolution Model
5.1.1.1. Types of Name Spaces
5.1.1.2. Name Space Organization
5.1.1.3. Name Space Provider Architecture
5.1.2. Summary of Name Resolution Functions
5.1.2.1. Service Installation
5.1.2.2. Client Query
5.1.2.3. Helper Functions
5.1.3. Name Resolution Data Structures
5.1.3.1. Query-Related Data Structures
5.1.3.2. Service Class Data Structures
5.2. Name Resolution Function Reference
5.2.1. WSAAddressToString()
5.2.2. WSAEnumNameSpaceProviders()
WSAEnumNameSpaceProviders()
5.2.3. WSAGetServiceClassInfo
5.2.4. WSAGetServiceClassNameByClassId()
5.2.5. WSAInstallServiceClass()
5.2.6. WSALookupServiceBegin()
5.2.7. WSALookupServiceEnd()
5.2.8. WSALookupServiceNext()
5.2.9. WSARemoveServiceClass()
4.2.10. WSASetService()
5.2.10. WSAStringToAddress()
5.3.2. Basic Approach
5.3.3. getprotobyname and getprotobynumber
5.3.4. getservbyname() and getservbyport()
5.3.5. gethostbyname()
5.3.6. gethostbyaddr()
5.3.7. gethostname()
5.4. WinSock 1.1 Compatible Name Resolution Reference
5.4.1. gethostbyaddr()
5.4.2. gethostbyname()
5.4.3. gethostname()
5.4.4. getprotobyname()
5.4.5. getprotobynumber()
5.4.6. getservbyname()
5.4.7. getservbyport()
5.4.8. inet_addr()
5.4.9. inet_ntoa()
5.4.10. WSAAsyncGetHostByAddr()
5.4.11. WSAAsyncGetHostByName()
5.4.12. WSAAsyncGetProtoByName()
5.4.13. WSAAsyncGetProtoByNumber()
5.4.14. WSAAsyncGetServByName()
5.4.15. WSAAsyncGetServByPort()
5.4.16. WSACancelAsyncRequest()
Appendix A. Error Codes and Header Files and Data Types
A.1 Error Codes
A.1.1 Error Codes - Brief Description
A.1.2 Error Codes - Extended Description
A.2 Header Files A.2.1 Berkeley Header Files
A.2.2 WinSock Header File - Winsock2.h
A.2.3 Sizes of Data Types
Appendix B. Multipoint and Multicast Semantics
B.1. Multipoint and Multicast Introduction
B.2 Multipoint Taxonomy
B.3 WinSock 2 Interface Elements for Multipoint and Multicast
B.3.1. Attributes in WSAPROTOCOL_INFO struct
B.3.2. Flag bits for WSASocket()
B.3.3. SIO_MULTIPOINT_LOOP command code for WSAIoctl()
B.3.4. SIO_MULTICAST_SCOPE command code for WSAIoctl()
B.3.5. WSAJoinLeaf()
B.4. Semantics for joining multipoint leaves
Appendix C. The Lame List
Appendix D. For Further Reference
D.1 Networking books:
D.2 Windows Sockets programming books:
0 of .
Results for:
No results containing your search query
P. 1
winsock2api-withtoc

winsock2api-withtoc

Ratings: (0)|Views: 2,274|Likes:
Published by Banshidhar Patel

More info:

Published by: Banshidhar Patel on Sep 25, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/01/2011

pdf

text

original

You're Reading a Free Preview
Page 6 is not shown in this preview.
You're Reading a Free Preview
Pages 16 to 52 are not shown in this preview.
You're Reading a Free Preview
Pages 58 to 279 are not shown in this preview.
You're Reading a Free Preview
Pages 285 to 291 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->