WSADATA Structure
Type WSADATA
wVersion As Integer
wHighVersion As Integer
szDescription As String * 257
szSystemStatus As String * 129
iMaxSockets As Long
iMaxUdpDg As Long
lpVendorInfo As Long
End Type
Description & Usage
The WSADATA structure stores information about the Windows Sockets (Winsock) implementation being used by your program. Most of the structure's contents refer to the version of Winsock the program is interfacing with.
Visual Basic-Specific Issues
None.
Data Members
- wVersion
- The version of Winsock that Windows expects you to use. The low-order byte contains the major version number, and the high-order byte contains the minor version number. This should be the same version you specified when calling WSAStartup.
- wHighVersion
- The highest version of Winsock that Windows supports. The version number is encoded in the same manner as wVersion.
- szDescription
- A null-terminated string that describes the Winsock implementation being used.
- szSystemStatus
- A null-terminated string specifying the Winsock implementation's current status.
- iMaxSockets
- Not used -- this member exists solely for backwards compatibility with Winsock version 1.1 and earlier.
- iMaxUdpDg
- Not used -- this member exists solely for backwards compatibility with Winsock version 1.1 and earlier.
- lpVenderInfo
- Not used -- this member exists solely for backwards compatibility with Winsock version 1.1 and earlier.
Used By
WSAStartup
Back to the Structure list.
Back to the Reference section.
Last Modified: October 29, 2000
This page is copyright © 2000 Paul Kuliniewicz.
Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/w/wsadata.html