ソースを参照

go.sys/windows: add SIO_UDP_CONNRESET const

It was part of recently submitted CL 149510043.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/155320044
Alex Brainman 11 年 前
コミット
7c39a4f50c
1 ファイル変更1 行追加0 行削除
  1. 1 0
      windows/ztypes_windows.go

+ 1 - 0
windows/ztypes_windows.go

@@ -552,6 +552,7 @@ const (
 	IOC_WS2                            = 0x08000000
 	SIO_GET_EXTENSION_FUNCTION_POINTER = IOC_INOUT | IOC_WS2 | 6
 	SIO_KEEPALIVE_VALS                 = IOC_IN | IOC_VENDOR | 4
+	SIO_UDP_CONNRESET                  = IOC_IN | IOC_VENDOR | 12
 
 	// cf. http://support.microsoft.com/default.aspx?scid=kb;en-us;257460