MSTCPIP.H
上传用户:shouhua
上传日期:2014-12-06
资源大小:5685k
文件大小:1k
源码类别:

杀毒

开发平台:

Visual C++

  1. //  Copyright (C) Microsoft Corporation, 1996-1999
  2. #if _MSC_VER > 1000
  3. #pragma once
  4. #endif
  5. /* Argument structure for SIO_KEEPALIVE_VALS */
  6. struct tcp_keepalive {
  7.     u_long  onoff;
  8.     u_long  keepalivetime;
  9.     u_long  keepaliveinterval;
  10. };
  11. // New WSAIoctl Options
  12. #define SIO_RCVALL            _WSAIOW(IOC_VENDOR,1)
  13. #define SIO_RCVALL_MCAST      _WSAIOW(IOC_VENDOR,2)
  14. #define SIO_RCVALL_IGMPMCAST  _WSAIOW(IOC_VENDOR,3)
  15. #define SIO_KEEPALIVE_VALS    _WSAIOW(IOC_VENDOR,4)
  16. #define SIO_ABSORB_RTRALERT   _WSAIOW(IOC_VENDOR,5)
  17. #define SIO_UCAST_IF          _WSAIOW(IOC_VENDOR,6)
  18. #define SIO_LIMIT_BROADCASTS  _WSAIOW(IOC_VENDOR,7)
  19. #define SIO_INDEX_BIND        _WSAIOW(IOC_VENDOR,8)
  20. #define SIO_INDEX_MCASTIF     _WSAIOW(IOC_VENDOR,9)
  21. #define SIO_INDEX_ADD_MCAST   _WSAIOW(IOC_VENDOR,10)
  22. #define SIO_INDEX_DEL_MCAST   _WSAIOW(IOC_VENDOR,11)