Home > General > Wsaeremote


TCP/IP scenario: A connection will timeout if the local system doesn't receive an (ACK)nowledgement for data sent. I always use standard windows sockets which are based on the Berkeley style sockets and routines... WSAEREMOTE 是一个由系统定义的错误码,对应错误发生时,使用函数 GetLastError 将返回该值。也可在程序中主动调用函数 SetLastError 来设置该错误码,以模拟系统错误的发生。该错误码与 Windows 套接字相关。与 Windows 套接字相关的错误码(WinSock Error codes)的范围为 10000~11999。 平台:Windows头文件: 所有同类错误码(1)莲花朵朵 编辑于 10-18版本1评论0 WSAEINTR(10004,0x2714)WSAEBADF(10009,0x2719)WSAEACCES(10013,0x271D)WSAEFAULT(10014,0x271E)WSAEINVAL(10022,0x2726)WSAEMFILE(10024,0x2728)WSAEWOULDBLOCK(10035,0x2733)WSAEINPROGRESS(10036,0x2734)WSAEALREADY(10037,0x2735)WSAENOTSOCK(10038,0x2736)WSAEDESTADDRREQ(10039,0x2737)WSAEMSGSIZE(10040,0x2738)WSAEPROTOTYPE(10041,0x2739)WSAENOPROTOOPT(10042,0x273A)WSAEPROTONOSUPPORT(10043,0x273B)WSAESOCKTNOSUPPORT(10044,0x273C)WSAEOPNOTSUPP(10045,0x273D)WSAEPFNOSUPPORT(10046,0x273E)WSAEAFNOSUPPORT(10047,0x273F)WSAEADDRINUSE(10048,0x2740)WSAEADDRNOTAVAIL(10049,0x2741)WSAENETDOWN(10050,0x2742)WSAENETUNREACH(10051,0x2743)WSAENETRESET(10052,0x2744)WSAECONNABORTED(10053,0x2745)WSAECONNRESET(10054,0x2746)WSAENOBUFS(10055,0x2747)WSAEISCONN(10056,0x2748)WSAENOTCONN(10057,0x2749)WSAESHUTDOWN(10058,0x274A)WSAETOOMANYREFS(10059,0x274B)WSAETIMEDOUT(10060,0x274C)WSAECONNREFUSED(10061,0x274D)WSAELOOP(10062,0x274E)WSAENAMETOOLONG(10063,0x274F)WSAEHOSTDOWN(10064,0x2750)WSAEHOSTUNREACH(10065,0x2751)WSAENOTEMPTY(10066,0x2752)WSAEPROCLIM(10067,0x2753)WSAEUSERS(10068,0x2754)WSAEDQUOT(10069,0x2755)WSAESTALE(10070,0x2756)WSAEREMOTE(10071,0x2757)WSASYSNOTREADY(10091,0x276B)WSAVERNOTSUPPORTED(10092,0x276C)WSANOTINITIALISED(10093,0x276D)WSAEDISCON(10101,0x2775)WSAENOMORE(10102,0x2776)WSAECANCELLED(10103,0x2777)WSAEINVALIDPROCTABLE(10104,0x2778) 所有同类错误码(2)莲花朵朵 编辑于 10-18版本1评论0 WSAEINVALIDPROVIDER(10105,0x2779)WSAEPROVIDERFAILEDINIT(10106,0x277A)WSASYSCALLFAILURE(10107,0x277B)WSASERVICE_NOT_FOUND(10108,0x277C)WSATYPE_NOT_FOUND(10109,0x277D)WSA_E_NO_MORE(10110,0x277E)WSA_E_CANCELLED(10111,0x277F)WSAEREFUSED(10112,0x2780)WSAHOST_NOT_FOUND(11001,0x2AF9)WSATRY_AGAIN(11002,0x2AFA)WSANO_RECOVERY(11003,0x2AFB)WSANO_DATA(11004,0x2AFC)WSA_QOS_RECEIVERS(11005,0x2AFD)WSA_QOS_SENDERS(11006,0x2AFE)WSA_QOS_NO_SENDERS(11007,0x2AFF)WSA_QOS_NO_RECEIVERS(11008,0x2B00)WSA_QOS_REQUEST_CONFIRMED(11009,0x2B01)WSA_QOS_ADMISSION_FAILURE(11010,0x2B02)WSA_QOS_POLICY_FAILURE(11011,0x2B03)WSA_QOS_BAD_STYLE(11012,0x2B04)WSA_QOS_BAD_OBJECT(11013,0x2B05)WSA_QOS_TRAFFIC_CTRL_ERROR(11014,0x2B06)WSA_QOS_GENERIC_ERROR(11015,0x2B07)WSA_QOS_ESERVICETYPE(11016,0x2B08)WSA_QOS_EFLOWSPEC(11017,0x2B09)WSA_QOS_EPROVSPECBUF(11018,0x2B0A)WSA_QOS_EFILTERSTYLE(11019,0x2B0B)WSA_QOS_EFILTERTYPE(11020,0x2B0C)WSA_QOS_EFILTERCOUNT(11021,0x2B0D)WSA_QOS_EOBJLENGTH(11022,0x2B0E)WSA_QOS_EFLOWCOUNT(11023,0x2B0F)WSA_QOS_EUNKOWNPSOBJ(11024,0x2B10)WSA_QOS_EPOLICYOBJ(11025,0x2B11)WSA_QOS_EFLOWDESC(11026,0x2B12)WSA_QOS_EPSFLOWSPEC(11027,0x2B13)WSA_QOS_EPSFILTERSPEC(11028,0x2B14)WSA_QOS_ESDMODEOBJ(11029,0x2B15)WSA_QOS_ESHAPERATEOBJ(11030,0x2B16)WSA_QOS_RESERVED_PETYPE(11031,0x2B17)WSA_SECURE_HOST_NOT_FOUND(11032,0x2B18)WSA_IPSEC_NAME_POLICY_ERROR(11033,0x2B19) 创建手册 发表文章 WSAEREMOTE(10071,0x2757) 所有同类错误码(1) 所有同类错误码(2) winerror.h 头文件 WinSock description: Same as Berkeley.

On a datastream socket, some applications use this error with a non-blocking socket calling connect() to detect when a connection attempt has completed, although this is not recommended since some WinSocks please be so kind and go into detail I have no idea what causes the problem. If you are using a name server(s), check whether the server host(s) are up (e.g. The software caused a connection abort because there is no space on the socket's queue and the socket cannot receive further connections.

WinSock functions: WSAENOTSOCK (10038) Socket operation on non-socket. Berkeley description: A protocol was specified that does not support the semantics of the socket type requested. Developer suggestions: Every application that uses non-blocking sockets must be prepared for this error on any call to the functions mentioned below. See other suggestions under WSAECONNABORTED.

  1. For example, the error can occur when an attempt is made to read from a file that is not open, to open an existing read-only file for writing, or to open
  2. A retry at some time later may be successful.
  3. This will verify that the destination network is functioning.
  4. Since Windows Sockets is practically a clone of Berkeley Sockets, and the rule of thumb is "when in doubt, defer to Berkeley", we can adopt the Berkeley Software Distribution error text
  5. Occasionally the error code could have more variables in Wsaeremote formatting .This further number and letter code are the location of the storage regions in which the instructions are stored at
  6. A socket already has a type (a protocol), and each sockaddr structure has an address family field to define its format.
  7. There are 2 methods in which to resolve Wsaeremote error code: Advanced Solution (advanced): 1) Start your computer and then log on as an administrator. 2) Click on the Get started
  8. WSAEBADF (10009) Bad file descriptor.
  9. WinSock functions: the list of functions that explicitly list this error in the v1.1 Windows Sockets specification.
  10. The Windows Sockets errors are listed in alphabetical order below (they're cross-referenced in a list in numerical order further below).

User suggestions: Try to ping the destination host, to see if you get the same results (chances are, you will). There are numerous events which can have resulted in file errors. The ICMP message means that a router can't forward the IP datagram, possibly because it didn't get a response to the ARP request (which might mean the destination host is down). Developer suggestions: Assume bind() will fail with this error.

WinSock functions: With a datastream socket: connect() and FD_CONNECT WSAAsyncelect() notification message. Microsoft C description: Bad file number. TCP/IP scenario: description of the TCP/IP protocol suite network traffic (i.e. WinSock description: Same as Berkeley.

WinSock functions: gethostbyaddr(), gethostbyname(), WSAAsyncGetHostByAddr(), WSAAsyncGetHostByName(), WSAAsyncGetProtoByName(), WSAAsyncGetProtoByNumber(), WSAAsyncGetServByName(), WSAAsyncGetServByPort() Additional functions: It is strange that the asynchronous protocol and services functions can fail with this error, but the synchronous cannot. WinSock description: No equivalent in WinSock. closesocket(): occurs on a non-blocking socket with non-zero timeout set with setsockopt() SO_LINGER. Operating System Compatibility:Windows XP/Vista/7 / 8 (32/64BIT) Download Size: 8 MB Version 2014 Expert Support: Yes System Error Codes (0-499) System Error Codes (500-999) System Error Codes (1000-1299) System Error

Berkeley description: A socket operation encountered a dead network. WinSock functions: socket() See also: WSAESOCKTNOSUPPORT WSAEPROTOTYPE (10041) Protocol wrong type for socket. WinSock description: No equivalent. Do you have a router configured?

WinSock functions: accept(), bind(), connect(), gethostname(), getpeername(), getsockname(), getsockopt(), recvfrom(), send(), sendto(), setsockopt() if buffer length is too small. The values for WSANO_DATA and WSANO_ADDRESS (11004) are duplicates, so we don't count one of them. This usually results from trying to connect to a service that is inactive on the foreign host. WinSock functions: accept(), bind(), closesocket(), connect(), gethostbyaddr(), gethostbyname(), gethostname(), getpeername(), getprotobyname(), getprotobynumber(), getservbyname(), getservbyport(), getsockname(), getsockopt(), ioctlsocket(), listen(), recv(), recvfrom(), select(), send(), sendto(), setsockopt(), shutdown(), socket(), WSAAsyncGetHostByAddr(), WSAAsyncGetHostByName(), WSAAsyncGetProtoByName(), WSAAsyncGetProtoByNumber(), WSAAsyncGetServByName(),

you tried to connect to the wrong destination host address the server application isn't running on the destination host the server application isn't listening on the right port. User suggestions: There are a number of things to check, that might help to identify why the failure occurred. WinSock description: No equivalent. The Wsaeremote error message is the Hexadecimal data format of the error message generated.

User suggestions: see WSAHOST_NOT_FOUND for details. WinSock description: Same as Berkeley TCP/IP scenario: In TCP terms (datastream sockets), it means an attempt to connect (by sending a TCP SYN packet) caused the destination host to respond to The Windows Sockets API provides access to "low-level" API's (like the transport protocols TCP and UDP), so this error is not relevant to WinSock.

Every error description contains at least: Summary Info: Error macro: manifest constant, as defined in WINSOCK.H Error value: as defined in v1.1 WINSOCK.H Short description Berkeley description: text describing the equivalent

after failed calls to inet_addr() or gethostbyname()), then simply test your address value for zero before you pass it to sendto(). The WinSock API does not provide access to the Network File System application protocol, so this error is irrelevant to WinSock. In Berkeley, this error also occurs when you are trying to name the local socket (assign local address and port number) with bind(), but Windows Sockets doesn't ascribe this error to It's not unusual to see an increase of 95%+ in performance.

In WinSock it means a blocking operation was interrupted by a call to WSACancelBlockingCall. Regards Robert Robert Rostek -=[[email protected]]=- Reply With Quote November 22nd, 2001,03:11 PM #4 Andreas Masur View Profile View Forum Posts Visit Homepage Member Power Poster Join Date May 2000 Location KY, Apparently, the Windows Sockets specification left this out by oversight. WinSock functions: recv(), recvfrom(), send(), sendto() WSAENAMETOOLONG (10063) File name too long.

Additional functions: a generic description of the type of functions that can return this error, which may include functions other than those listed by the WinSock specification. But most of these function-less errors are simply out of place; they are inappropriate to the Windows Sockets API as it exists in the v1.1 specification.