You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
477 B

  1. // Copyright 2011 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package windows
  5. type WSAData struct {
  6. Version uint16
  7. HighVersion uint16
  8. Description [WSADESCRIPTION_LEN + 1]byte
  9. SystemStatus [WSASYS_STATUS_LEN + 1]byte
  10. MaxSockets uint16
  11. MaxUdpDg uint16
  12. VendorInfo *byte
  13. }
  14. type Servent struct {
  15. Name *byte
  16. Aliases **byte
  17. Port uint16
  18. Proto *byte
  19. }