Documentation ¶
Index ¶
- Constants
- func WSACloseEvent(event windows.Handle) (err error)
- func WSACreateEvent() (event windows.Handle, err error)
- func WSADuplicateSocket(socket windows.Handle, processID uint32, protocolInfo *WSAPROTOCOL_INFO) (err error)
- func WSAEventSelect(fd windows.Handle, event windows.Handle, networkevents int32) (err error)
- func WSASocket(af int32, tp int32, protocol int32, protocolInfo *WSAPROTOCOL_INFO, g GROUP, ...) (socket windows.Handle, err error)
- func WSAWaitForMultipleEvents(cEvents uint32, events *windows.Handle, waitAll bool, timeout uint32, ...) (result int32, err error)
- type GROUP
- type GUID
- type WSAPROTOCOLCHAIN
- type WSAPROTOCOL_INFO
Constants ¶
View Source
const FD_CLOSE = 1 << 5
View Source
const FD_READ = 1 << 0
View Source
const FD_WRITE = 1 << 1
View Source
const (
FROM_PROTOCOL_INFO = -1
)
View Source
const WSA_WAIT_EVENT_0 = 0
View Source
const WSA_WAIT_TIMEOUT = 0x102
Variables ¶
This section is empty.
Functions ¶
func WSACloseEvent ¶
func WSACreateEvent ¶
func WSADuplicateSocket ¶
func WSADuplicateSocket(socket windows.Handle, processID uint32, protocolInfo *WSAPROTOCOL_INFO) (err error)
func WSAEventSelect ¶
Types ¶
type WSAPROTOCOLCHAIN ¶
type WSAPROTOCOL_INFO ¶
type WSAPROTOCOL_INFO struct { ServiceFlags1 uint32 ServiceFlags2 uint32 ServiceFlags3 uint32 ServiceFlags4 uint32 ProviderFlags uint32 ProviderID GUID CatalogEntryID uint32 ProtocolChain WSAPROTOCOLCHAIN Version int32 AddressFamily int32 MaxSockAddr int32 MinSockAddr int32 SocketType int32 Protocol int32 ProtocolMaxOffset int32 NetworkByteOrder int32 SecurityScheme int32 MessageSize uint32 ProviderReserved uint32 Protocols [wsaprotocol_len + 1]uint16 }
Click to show internal directories.
Click to hide internal directories.