search for: closesocket

Displaying 18 results from an estimated 18 matches for "closesocket".

2006 Jun 01
1
Random crashes after sighup
...48,7 @@ } ifdebug(CONNECTIONS) logger(LOG_WARNING, _("Timeout from %s (%s) during authentication"), c->name, c->hostname); - if(c->status.connecting) { + if(c->status.connecting && c->outgoing) { c->status.connecting = false; closesocket(c->socket); do_outgoing_connection(c); @@ -297,7 +297,10 @@ _("Error while connecting to %s (%s): %s"), c->name, c->hostname, strerror(result)); closesocket(c->socket); - do_outgoing_connection(c); + if (c->outgoing) + do_outg...
2004 Aug 06
2
Protocol
jaromil, > > > > wanted to ask again if someone has some online documentation on the > > icecast (or shoutcast) protocol at the socket/data level. > > have a look into MuSE/libmpeg/httpinput.cc (http://muse.dyne.org) > i hope that code can help you figuring out > No actually not. It just makes the connection to the shoutcast/icecast server. I've gotten this
2014 Feb 13
3
Libguestfs (1.22.6) driver/changes for mingw/win32
Hi, I attached the changes I made to a vanilla libguestfs-1.22.6 in order to make it work in mingw/win32. Added is also the patch required to make QEMU compatible (add a command to QMP that lists the supported devices (the regilat way you do it print it to stderr, which is difficult to redirect in win32)). This is done on behalf of Intel Corp. Thanks, Or (oberon in irc)
2006 Jul 13
1
Binding to a local IP address when mounting smb file system.
...<< "ERROR: tcp bind: " << LFSTRERROR << endl; VLOG_ERR(VLOG << "ERROR: tcp bind: " << LFSTRERROR << " IP: " << toStringIP(ip_addr) << " ipPort: " << ip_port << endl); closesocket(s); return r; } else { VLOG_INF(VLOG << "Successfully bound to IP: " << toStringIP(ip_addr) << " port: " << ip_port << endl); } 2) I need to be able to specify the local Network device name. This will be...
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
2004 Aug 06
0
Submission: Patch to libshout/sock.c for MacOSX
...((!sock_valid_socket(sockfd)) || (block < 0) || (block > 1)) return SOCKET_ERROR; #ifdef _WIN32 return ioctlsocket(sockfd, FIONBIO, &varblock); #else return fcntl(sockfd, F_SETFL, (block == SOCK_BLOCK) ? 0 : O_NONBLOCK); #endif } int sock_close(SOCKET sockfd) { #ifdef _WIN32 return closesocket(sockfd); #else return close(sockfd); #endif } /* * Write len bytes from buf to the socket. */ int sock_write_bytes(SOCKET sockfd, const char *buff, const int len) { int wrote, res, polled; // struct pollfd socks; // <SKoT> fd_set writefds; // stru...
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
2009 Dec 31
0
configure R-2.10.1 => "Error: MPlayer will not compile without (PR#14175)
...s Checking for roundf ... yes Checking for truncf ... yes Checking for mkstemp ... yes Checking for nanosleep ... yes Checking for socklib ... yes Checking for arpa/inet.h ... yes Checking for inet_pton() ... yes Checking for inet_aton() ... yes Checking for socklen_t ... yes Checking for closesocket() ... no Checking for network ... yes Checking for inet6 ... yes Checking for gethostbyname2 ... yes Checking for inttypes.h (required) ... yes Checking for int_fastXY_t in inttypes.h ... yes Checking for malloc.h ... yes Checking for memalign() ... yes Checking for posix_memalign() ... yes...
2007 Jul 21
2
tincctl patches
(Second try to send this. I wonder if the first one gotten eaten by a spam filter; I'll link to patches instead of attaching them.) Here are the tincctl patches I've been working on. They apply to http://www.tinc-vpn.org/svn/tinc/branches/1.1@1545. I intend to commit them once the crypto stuff's fixed. Since they're basically done, I'm emailing them now for review and in case
2008 Sep 30
1
Problem compiling tinc-1.0.8 on gcc-2.95
...ifdebug(CONNECTIONS) logger(LOG_WARNING, _("Timeout from %s (%s) during authentication"), c->name, c->hostname); - if(c->status.connecting) { - c->status.connecting = false; + if(c->status.st.connecting) { + c->status.st.connecting = false; closesocket(c->socket); do_outgoing_connection(c); } else { @@ -268,11 +268,11 @@ } if(c->outbuflen > 0 && c->last_flushed_time + pingtimeout < now) { - if(c->status.active) { + if(c->status.st.active) { ifdebug(CONNECTIONS) logger(LOG_INFO, _(&qu...
2019 Feb 15
0
Wine release 4.2
...sk: Move memory allocation to avoid a memory leak (Valgrind). taskschd: Fix some memory leaks (Valgrind). ws2_32: Use heap_realloc instead of HeapReAlloc to avoid an invalid realloc (Valgrind). wininet/tests: Fix some memory leaks (Valgrind). webservices/tests: Add a missing closesocket call (Coverity). Vijay Kiran Kamuju (1): setupapi: Add stub for CM_Get_Sibling. Yussur-Mustafa Oraji (1): httpapi: Add stub for HttpCloseServerSession. Zebediah Figura (36): wined3d: Set the correct matrix in wined3d_device_multiply_transform(). wined3d: Store texture sta...
2015 Mar 06
0
Wine release 1.7.38
.... include: Add ASN1_* function prototypes. Bruno Jesus (4): kernel32/tests: Add more GetTempPath tests. kernel32: GetTempPathW must zero the remaining buffer. kernel32: In GetTempPathW only copy the path if it fits and zero the buffer when it doesn't. ws2_32: Make closesocket() more robust. Christian Costa (2): windowscodecs: Fix init of LONGLONG variable with a negative value in TGA decoder. d3dx9_36: Fix d3dx9_skin_info_ConvertToIndexedBlendedMesh stub. Damjan Jovanovic (1): winex11.drv: Support XDnD version 5. Daniel Lehman (1): wininet: Ea...
2006 Dec 08
0
Wine release 0.9.27
...tribfvARB. Christian Gmeiner (1): setupapi: Added AssertFail stub. Clinton Stimpson (2): riched20: Only send EN_CHANGE when it is supposed to be sent. comctl32: Destroy header information on WM_NCDESTROY instead of WM_DESTROY. Damjan Jovanovic (1): ws2_32: Added tests for closesocket cancelling pending I/O operations. Detlef Riekenberg (14): spoolss: Implement AllocSplStr + DllFreeSplStr. localspl: Add initial tests for AddPortW. winspool: Implement DeletePortW. winspool: Implement DeletePortA. winspool/tests: Add initial test for DeletePort....
2014 Feb 07
0
Wine release 1.7.12
...IXME's. kernel32: Quiet a noisy FIXME. Bruno Jesus (11): programs: Add support to arguments with dash in taskkill. user32: Cope with null LPMENUITEMINFO in SetMenuItemInfo. ws2_32: Return the correct address family in WSAStringToAddressA. ws2_32/tests: Add missing closesocket calls (Coverity). wininet: InternetGetConnectedStateExW must return TRUE for success. po: Update Brazilian Portuguese translation. wininet/tests: Add tests for InternetGetConnectedStateEx[A|W]. ws2_32/tests: Fix AcceptEx tests related to address length. bcrypt: Add BCr...
2008 Feb 29
35
[RFC] PVFB: Add refresh period to XenStore parameters?
Hello, Sometimes the backend of PVFB knows that it doesn''t need permanent refresh, when the window is minimized for instance (no refresh at all), or the administration tools know that the window is thumnailed, and so a slow refresh rate is fine. Also, some users may want to tune the refresh rate according to the smoothness they would like, balanced with the CPU time that requires.
2008 Mar 07
0
Wine release 0.9.57
...ve superfluous semi-colon from d3d9.h. libport: Undefine strcasecmp and strncasecmp in case they are defined to stricmp and strnicmp respectively. makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles. makefiles: Split AR into AR and ARFLAGS. rpcrt4: Use closesocket to close sockets and define it to close on Unix platforms to make the code more portable. mshtml: Move some public GUIDs to shlguid.h. user32: Add test for calling CreateDesktop on already created desktop name. uuid: Add CLSID_InProcFreeMarshaler. include: Add defines for Ge...
2008 Sep 19
0
Wine release 1.1.5
.... dplayx: Fix possible NULL pointer dereference (Coverity). dplayx: Fix possible NULL pointer deference in error path (Coverity). dpnet: Fix initialisation of This pointer (Coverity). ws2_32: Win NT4 does not zero the sockaddr_in structure on getsockname. ws2_32: Win98 closesocket() does not wake up select. Lei Zhang (4): sane.ds: Replace wsprintfW with sprintfW. comctl32: listview: Prevent DragDetect from removing WM_LBUTTONUP messages. comctl32: Handle listview dragging better. qcap: Make sure input to AMStreamConfig_SetFormat is not NULL. Luis C....
2009 Mar 02
0
[PATCH 4 of 13] DisplayState interface change
...le = 1; + dcl->idle = 1; } else { /* Send a null update. If the client is no longer interested (e.g. minimised) it''ll ignore this, and we @@ -992,7 +936,7 @@ qemu_set_fd_handler2(vs->csock, NULL, NULL, NULL, NULL); closesocket(vs->csock); vs->csock = -1; - vs->ds->idle = 1; + dcl->idle = 1; buffer_reset(&vs->input); buffer_reset(&vs->output); free_queue(vs); @@ -1213,12 +1157,12 @@ vnc_write_u8(vs, 0); vnc_write_u16(vs, 1); vnc_framebuffer_update(vs, absolute,...