search for: wsagetlasterror

Displaying 20 results from an estimated 22 matches for "wsagetlasterror".

2020 Aug 17
3
[nbdkit] Windows errno handling
...indows-mingw) now works to some extent. However errno handling doesn't work. The way that Winsock handles errors is incompatible with the way we expect to work errno in several ways. The long story is here: https://docs.microsoft.com/en-us/windows/win32/winsock/error-codes-errno-h-errno-and-wsagetlasterror-2 https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2 The shorter story is: - Windows functions like send, recv, etc. do not set errno. - In fact it's not even possible for the concept of a shared global variable to exist with Windows DLLs, or at least n...
2020 Aug 17
2
Re: [nbdkit] Windows errno handling
...ent. However errno handling doesn't work. The way that >> Winsock handles errors is incompatible with the way we expect to work >> errno in several ways. The long story is here: >> >> https://docs.microsoft.com/en-us/windows/win32/winsock/error-codes-errno-h-errno-and-wsagetlasterror-2 >> https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2 >> >> >> This is very invasive for existing code. There are ~60 places in the >> existing code which seem to assign to errno, but some of these either >> set errno = 0 or...
2020 Aug 17
0
Re: [nbdkit] Windows errno handling
...gt; to some extent. However errno handling doesn't work. The way that > Winsock handles errors is incompatible with the way we expect to work > errno in several ways. The long story is here: > > https://docs.microsoft.com/en-us/windows/win32/winsock/error-codes-errno-h-errno-and-wsagetlasterror-2 > https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2 > > The shorter story is: > > - Windows functions like send, recv, etc. do not set errno. > > - In fact it's not even possible for the concept of a shared global > variable t...
2020 Aug 17
0
Re: [nbdkit] Windows errno handling
...ing doesn't work. The way that > > > Winsock handles errors is incompatible with the way we expect to work > > > errno in several ways. The long story is here: > > > > > > https://docs.microsoft.com/en-us/windows/win32/winsock/error-codes-errno-h-errno-and-wsagetlasterror-2 > > > https://docs.microsoft.com/en-us/windows/win32/winsock/windows-sockets-error-codes-2 > > > > > > > > > > This is very invasive for existing code. There are ~60 places in the > > > existing code which seem to assign to errno, but some of th...
2008 May 08
0
[ANNOUNCE] xtrans 1.2
...as broken in 1.1 (bug#15677). Also various bug fixes and win32 updates. Alan Coopersmith (1): Sun bug #6688467: _X11TransConvertAddress: Unknown family type on 64-bit SPARC Alan Hourihane (2): fix build for MAKEWORD disable UNIXCONN on MINGW Colin Harrison (2): Only call WSAGetLastError() if there has been an Update to winsock2 James Cloos (1): Fix length calculation for the path for abstract unix domain sockets Julien Cristau (2): BSD44SOCKETS is the wrong check for SOCK_MAXADDRLEN Bump to 1.2 Lo?c Minier (1): Bug #10489: Don't retry unix sock...
2003 Jul 26
0
compile problems with libwine
...; Network.o: In function `CPosClient::StartBufferThread()': /home/andreas/src/c++/KoordKonsole2.3_wine/Network.cpp:738: undefined reference to `_beginthread' Socket.o: In function `Socket::GetLastError()': /home/andreas/src/c++/KoordKonsole2.3_wine/Socket.cpp:46: undefined reference to `WSAGetLastError' test -f koordkonsole2 || install wineapploader koordkonsole I know these errors are from wsock32 and Windows-thread-code. Should I specify other libraries to link it correct? Please give me some hints. Thanks Andreas
2006 May 11
9
world of warcraft doesnÄt work (sorry if double post)
if this is a doublepost please sorry bur the first post was blocked by spamfilter because of wrong timesettings on my local computer. i reaplyed to my original post and now im not shure if the mailserver thinks the message is corrupt because of reply to a non existing message. here is the originalmessage (again?) Hi everyone, thirst of all please forgive my bad english :) i have installed wine
2020 Aug 18
15
[PATCH nbdkit 0/9] Port to Windows.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw This is the port to Windows using native Windows APIs (not MSYS or Cygwin). This patch series is at the point where it basically now works. I can run the server with the memory plugin, and access it remotely using guestfish, creating filesystems and so on without any apparent problems. Nevertheless there are many
2018 Jan 05
0
Wine release 3.0-rc5
...'t test functions directly when reporting GetLastError(). inetcomm/tests: Don't test function directly when reporting GetLastError(). msvcrt/tests: Don't test function directly when reporting GetLastError(). wsdapi/tests: Don't test function directly when reporting WSAGetLastError(). advapi32/tests: Don't cast return value from HeapAlloc. shell32: Don't cast return value from DPA_GetPtr. glu32: Don't cast return value from HeapAlloc. Fernando Martins (1): po: Portuguese translation update. François Gouget (12): user32/tests: Make t...
2004 Aug 06
0
Submission: Patch to libshout/sock.c for MacOSX
..._SET(sockfd, &wfds); tv.tv_sec = timeout; tv.tv_usec = 0; sock_set_blocking(sockfd, SOCK_NONBLOCK); retval = connect(sockfd, (struct sockaddr *)&server, sizeof(server)); if (retval == 0) { sock_set_blocking(sockfd, SOCK_BLOCK); return sockfd; } else { #ifdef _WIN32 if (WSAGetLastError() == WSAEINPROGRESS) { #else if (!sock_recoverable(errno)) { #endif sock_close(sockfd); return SOCKET_ERROR; } } if (select(sockfd + 1, NULL, &wfds, NULL, &tv)) { retval = getsockopt (sockfd, SOL_SOCKET, SO_ERROR, (void *)&val, (socklen_t *)&valsize); if ((r...
2013 Jun 14
0
Wine release 1.6-rc2
...rypto.h. configure: Always check for pkg-config. Alistair Leslie-Hughes (3): dbs.idl: Add DBPROPVAL defines. oleaut32/tests: Add DECIMAL tests. oledb32: Add remaining INIT Properties. Andr? Hentschel (6): ws2_32/tests: Don't test functions directly when reporting WSAGetLastError(). oleaut32/tests: Add tests for VarDecCmpR8 (gcov). winemaker: Don't add -mno-cygwin to CXXEXTRA per default. winemaker: Don't destroy relative paths. winemaker: Add includes separately for vcproj files. winemaker: Try to find the real case of a given filename...
2004 Aug 06
2
ICECAST enseirb group
...heck" which can return > > SOCK_ERROR. If this happens, there can be a problem in the calling function > > because this one will then verify the kind of return using > > sock_recoverable(sock_error()). And sock_error() will return something wrong > > because of errno or WSAGetLastError() are not concerned by the return of the > > "sanity check". > > > > ---------------------------------------- > > > > In fserv_thread_function , there is a first scan of the client tree (with > > avl_get_first(client_tree) ), in order to serve the clien...
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib After a lot of work I have made the port to Windows work without using a separate library. Instead, on Windows only, we build an "import library" (library of stubs) which resolves references to nbdkit_* functions in the main program and fixes up the plugin, basically the first technique outlined in
2015 Nov 27
0
Wine release 1.8-rc2
...Andrew Eikum (1): Revert "explorerframe: Allow treeview expandos to open with a single click.". Andrey Gusev (2): Assorted typos fixes. progman: Fix GROUP_AddGroup() declaration. Andr? Hentschel (1): ws2_32/tests: Don't test function directly when reporting WSAGetLastError(). Bernhard ?belacker (1): dinput: Fail in SetCooperativeLevel on invalid hwnd. Bruno Jesus (7): msacm32: Remove dead code from acmFormatDetailsW. ws2_32: Add a couple of options to sockopt debug. comctl32: Respect an assert in TREEVIEW_RemoveAllChildren. msacm32/tes...
2015 Feb 20
0
Wine release 1.7.37
...and leaks. vbscript: Added InStrRev implementation. ieframe: Keep reference to This in all IDocObjectService callback calls. mshtml: Call FireBeforeNavigate2 for navigation in frames and iframes. wininet: Use proper argument type for ioctlsocket argument. wininet: Use WSAGetLastError in sock_get_error in Windows builds. wininet: Use sock_get_error in a few more places. wininet: Properly check for ioctlsocket failure in NETCON_is_alive. wininet: Properly handle EWOULDBLOCK return from connect(). wininet: Initialize winsock before creating socket in Window...
2013 Aug 02
0
Wine release 1.7.0
...ws2_32: Fix listen() implementation. ws2_32/tests: Add more tests for WSASocket(). kernel32/tests: Add tests for GetVolumePathNameA(). ws2_32/tests: Add SO_ACCEPTCONN tests. ws2_32: Fix service flags returned from TCP and UDP protocols. ws2_32/tests: Fix bad usage of WSAGetLastError() in tests. ws2_32/tests: Test the precedence of parameters while creating a socket in WSASocket(). ws2_32: Simplify WINSOCK_EnterSingleProtocolA using the W version. ws2_32/tests: Add and update WSASocketA() tests. Charles Davis (1): winemac.drv: Also return the number of...
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
...if(!c->outgoing->cfg) { ifdebug(CONNECTIONS) logger(LOG_ERR, _("Could not set up a meta connection to %s"), c->name); - c->status.remove = true; + c->status.st.remove = true; retry_outgoing(c->outgoing); return; } @@ -339,7 +339,7 @@ || WSAGetLastError() == WSAEWOULDBLOCK #endif ) { - c->status.connecting = true; + c->status.st.connecting = true; return; } diff -ubr tinc-1.0.8/src/node.h tinc-1.0.8.my/src/node.h --- tinc-1.0.8/src/node.h Sat Nov 11 15:43:07 2006 +++ tinc-1.0.8.my/src/node.h Thu Sep 25 11:56:40 2008 @@ -29,8...
2013 Sep 27
0
Wine release 1.7.3
...teFile2 tests based on the CreateFileW tests. msvcrt/tests: Load the correct function on ARM. include: Don't redefine _GNU_SOURCE. wininet/tests: Don't test function directly when reporting GetLastError(). ws2_32/tests: Don't test function directly when reporting WSAGetLastError(). winebuild: Update IMAGE_FILE_MACHINE_ARM64. Aric Stewart (2): imm32: Fix ImmGetDescription behavior with a null HKL. imm32: ImmGetDescriptionA return does not include NULL byte. Bruno Jesus (15): ws2_32: Advertise protocol entries as default. ws2_32: Avoid magic n...
2018 Feb 16
0
Wine release 3.2
...ssFactory ref counting. services: Fix reading past end of struct (Coverity). Andrey Gusev (3): cdosys: Add stub dll. api-ms-win-perf-legacy-l1-1-0: Add dll. amstream: Return S_OK in IDirectDrawStreamSampleImpl_Update. André Hentschel (2): ws2_32/tests: Don't test WSAGetLastError() value on success. ws2_32/tests: Test with less socket pairs. Anton Romanov (2): wmp: Add IWMPPlayer interface. wmp: Implement IConnectionPoint[Container] and add _WMPOCXEvents. Aric Stewart (10): winebus.sys: Handle linux input event device via udev. winebus.sys: B...
2015 Oct 02
0
Wine release 1.7.52
...ainers: Add MAINTAINERS file. msdelta: Add stub DLL. Andrey Gusev (4): wined3d: Fix TRACE in shader_dump_decl_usage(). d3d8: TRACE fixes. d3d9: TRACE fixes. wined3d: TRACE fixes. Andr? Hentschel (6): ws2_32/tests: Don't test function directly when reporting WSAGetLastError(). kernel32/tests: Don't test for the exact process count. ntdll/tests: Simplify the RtlRandom test. psapi/tests: Don't check for exact value. rsaenh/tests: Adjust length value to pass on Win 10. user32/tests: Allow tracing in menu tests. Aric Stewart (13):...