Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for WSAECONNRESET (0.65 sec)

  1. src/net/error_windows.go

    // license that can be found in the LICENSE file.
    
    package net
    
    import "syscall"
    
    func isConnError(err error) bool {
    	if se, ok := err.(syscall.Errno); ok {
    		return se == syscall.WSAECONNRESET || se == syscall.WSAECONNABORTED
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 01 14:50:33 UTC 2018
    - 355 bytes
    - Viewed (0)
  2. src/net/error_windows_test.go

    package net
    
    import (
    	"errors"
    	"syscall"
    )
    
    var (
    	errOpNotSupported = syscall.EOPNOTSUPP
    
    	abortedConnRequestErrors = []error{syscall.ERROR_NETNAME_DELETED, syscall.WSAECONNRESET} // see accept in fd_windows.go
    )
    
    func isPlatformError(err error) bool {
    	_, ok := err.(syscall.Errno)
    	return ok
    }
    
    func isENOBUFS(err error) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:59:22 UTC 2023
    - 757 bytes
    - Viewed (0)
  3. src/syscall/types_windows.go

    	ERROR_NOT_FOUND           Errno = 1168
    	ERROR_PRIVILEGE_NOT_HELD  Errno = 1314
    	WSAEACCES                 Errno = 10013
    	WSAENOPROTOOPT            Errno = 10042
    	WSAECONNABORTED           Errno = 10053
    	WSAECONNRESET             Errno = 10054
    )
    
    const (
    	// Invented values to support what package os expects.
    	O_RDONLY   = 0x00000
    	O_WRONLY   = 0x00001
    	O_RDWR     = 0x00002
    	O_CREAT    = 0x00040
    	O_EXCL     = 0x00080
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. src/net/net_windows_test.go

    		n, err := c.Read(b)
    		if err == nil || err == io.EOF {
    			return string(b[:n]), nil
    		}
    		errno, ok := toErrno(err)
    		if ok && ignoreSomeReadErrors && (errno == syscall.ERROR_NETNAME_DELETED || errno == syscall.WSAECONNRESET) {
    			return "", nil
    		}
    		return "", err
    	}
    
    	send := func(addr string, data string) error {
    		c, err := Dial("tcp", addr)
    		if err != nil {
    			return err
    		}
    		defer c.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. src/internal/poll/fd_windows.go

    			return syscall.InvalidHandle, nil, 0, "", err
    		}
    
    		errcall, err := fd.acceptOne(s, rawsa[:], o)
    		if err == nil {
    			return s, rawsa[:], uint32(o.rsan), "", nil
    		}
    
    		// Sometimes we see WSAECONNRESET and ERROR_NETNAME_DELETED is
    		// returned here. These happen if connection reset is received
    		// before AcceptEx could complete. These errors relate to new
    		// connection, not to AcceptEx, so ignore broken connection and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  6. api/go1.3.txt

    pkg syscall (windows-386), const SIO_KEEPALIVE_VALS = 2550136836
    pkg syscall (windows-386), const SIO_KEEPALIVE_VALS ideal-int
    pkg syscall (windows-386), const WSAECONNRESET = 10054
    pkg syscall (windows-386), const WSAECONNRESET Errno
    pkg syscall (windows-386), func NewCallbackCDecl(interface{}) uintptr
    pkg syscall (windows-386), type TCPKeepalive struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  7. src/net/http/h2_bundle.go

    		if oe, ok := err.(*net.OpError); ok && oe.Op == "read" {
    			if se, ok := oe.Err.(*os.SyscallError); ok && se.Syscall == "wsarecv" {
    				const WSAECONNABORTED = 10053
    				const WSAECONNRESET = 10054
    				if n := http2errno(se.Err); n == WSAECONNRESET || n == WSAECONNABORTED {
    					return true
    				}
    			}
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/zerrors_windows.go

    	WSAENETRESET                                                              syscall.Errno = 10052
    	WSAECONNABORTED                                                           syscall.Errno = 10053
    	WSAECONNRESET                                                             syscall.Errno = 10054
    	WSAENOBUFS                                                                syscall.Errno = 10055
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 923.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"WSAData.SystemStatus", Field, 0},
    		{"WSAData.VendorInfo", Field, 0},
    		{"WSAData.Version", Field, 0},
    		{"WSAEACCES", Const, 2},
    		{"WSAECONNABORTED", Const, 9},
    		{"WSAECONNRESET", Const, 3},
    		{"WSAEnumProtocols", Func, 2},
    		{"WSAID_CONNECTEX", Var, 1},
    		{"WSAIoctl", Func, 0},
    		{"WSAPROTOCOL_LEN", Const, 2},
    		{"WSAProtocolChain", Type, 2},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top