Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for WSAECONNRESET (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top