Class WSAStartupFuncCall.WSAData

  • Enclosing class:
    WSAStartupFuncCall

    public static final class WSAStartupFuncCall.WSAData
    extends com.sun.jna.Structure
    The WSAData structure contains information about the implementation of Windows sockets.
    Since:
    0.40.0
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.sun.jna.Structure

        com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
    • Field Summary

      Fields 
      Modifier and Type Field Description
      byte[] description
      Socket function implementation description.
      short highVersion
      Highest version.
      short maxSockets
      Max amount of sockets that can be opened.
      short maxUdpDg
      Max size of datagram message.
      byte[] systemStatus
      Status and configuration description.
      com.sun.jna.Pointer vendorInfo
      Vendor info.
      short version
      Version.
      • Fields inherited from class com.sun.jna.Structure

        ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
    • Constructor Summary

      Constructors 
      Constructor Description
      WSAData()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<String> getFieldOrder()  
      • Methods inherited from class com.sun.jna.Structure

        allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
    • Field Detail

      • version

        public short version
        Version.
      • highVersion

        public short highVersion
        Highest version.
      • description

        public byte[] description
        Socket function implementation description.
      • systemStatus

        public byte[] systemStatus
        Status and configuration description.
      • maxSockets

        public short maxSockets
        Max amount of sockets that can be opened.
      • maxUdpDg

        public short maxUdpDg
        Max size of datagram message. Ignored for sockets Windows 2 and more.
      • vendorInfo

        public com.sun.jna.Pointer vendorInfo
        Vendor info. Ignored for sockets Windows 2 and more.
    • Constructor Detail

      • WSAData

        public WSAData()
    • Method Detail

      • getFieldOrder

        public List<String> getFieldOrder()
        Overrides:
        getFieldOrder in class com.sun.jna.Structure