Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canUseConnectEx (0.15 sec)

  1. src/net/fd_windows.go

    	writeSyscallName    = "wsasend"
    	writeToSyscallName  = "wsasendto"
    	writeMsgSyscallName = "wsasendmsg"
    )
    
    func init() {
    	poll.InitWSA()
    }
    
    // canUseConnectEx reports whether we can use the ConnectEx Windows API call
    // for the given network type.
    func canUseConnectEx(net string) bool {
    	switch net {
    	case "tcp", "tcp4", "tcp6":
    		return true
    	}
    	// ConnectEx windows API does not support connectionless sockets.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 16:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top