Displaying 20 results from an estimated 1000 matches similar to: "Strange Winsock problem"
2009 Dec 14
2
FlexBuilder plugin (JAVA) with native windows dll calling
Hi,
I'm developping an Adobe FlexBuilder plugin (it's an Eclipse plugin).
This plugin is written in Java. But it use windows dlls that was created for some features of the plugin.
And I try to port my plugin on MacOSX.
I've one question about wine :
- In java I use System.LoadLibrary to load my dlls, does Wine can help me for loading theses dlls under MacOSX? Does wine can map these
2020 Aug 18
1
Re: [PATCH nbdkit 7/9] server: Add hand-written replacement for poll for Windows.
On 8/18/20 5:50 AM, Richard W.M. Jones wrote:
> ---
> configure.ac | 1 +
> common/replacements/Makefile.am | 2 +
> common/replacements/poll.h | 60 ++++++++++++++++++
> server/public.c | 2 +-
> server/sockets.c | 2 +-
> common/replacements/poll.c | 106 ++++++++++++++++++++++++++++++++
> 6
2012 Oct 22
1
[PATCH] Implement remote dynamic TCP forwarding
Hi all,
This is a client side only implementation of reversed dynamic (SOCKS) TCP
forwarding, which means it is compatible with any existing servers
have 'remote forward' capability.
To establish such forward, use "ssh -R [BIND_ADDRESS:]PORT ...".
The server will listen on that port and address and accept SOCKS
traffics.
Hope this will be useful for you.
There was an
2013 Oct 09
1
[PATCH 0/1] Porting klibc to AArch64
On Wed, 9 Oct 2013 15:51:32 +0200
maximilian attems <maks at stro.at> wrote:
> On Wed, Oct 09, 2013 at 03:14:44PM +0530, Anil Singhar wrote:
> > Hi All:
> >
> > We have some patches to port klibc to ArmV8.
> >
> > The first set of patches from Neil Williams fixes the build issues.
> > The second set of patches from Anil Singhar fixes functionalities.
2001 Aug 20
1
Idletimeout patch, third attempt
Here is my third attempt at the idletimeout patch. I tried to address
the points which Marcus Friedl brought up.
It is actually bigger than the previous patches, but not as intrusive.
It is big because it moves some stuff from serverloop.c to packet.c.
- I moved all the logic to packet.c. This means that I also had to move
the actual select() call, which used to be in serverloop.c to packet.c.
2013 Feb 19
13
[PATCH] mini-os: implement poll(2)
It is just a wrapper around select(2).
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
extras/mini-os/include/posix/poll.h | 1 +
extras/mini-os/lib/sys.c | 90 ++++++++++++++++++++++++++++++++++-
2 files changed, 90 insertions(+), 1 deletion(-)
create mode 100644 extras/mini-os/include/posix/poll.h
diff --git a/extras/mini-os/include/posix/poll.h
2002 Aug 20
0
Compile against winsock and winsock2
Hello,
I'm attempting to compile a winsock application using winlib and for some
reason the FD_SET/FD_ZERO macros are generating an error because of the
WS(fd_set) macro. Is there a prefer method to compile against winsocks
functions....
Peter Alleyne
2005 Nov 07
1
ioloop-select bug in alpha 4
Howdy,
Forgive me if this issue has been more recently addressed in CVS, but
a quick scan of the archives didn't turn up any other reports.
There appears to be a small typo in src/lib/ioloop-select.c:
--- dovecot-1.0.alpha4/src/lib/ioloop-select.c.orig 2005-11-06
22:06:53.000000000 -0800
+++ dovecot-1.0.alpha4/src/lib/ioloop-select.c 2005-11-06
22:07:13.000000000 -0
800
@@ -113,7
2004 Aug 06
2
icecast + irix
well i fixed it a bit, if you add
#include <sys/select.h>
it gets rid of:
connection.c:192: `fd_set' undeclared (first use in this function)
connection.c:192: (Each undeclared identifier is reported only once
connection.c:192: for each function it appears in.)
connection.c:192: parse error before "rfds"
connection.c:193: storage size of `tv' isn't known
2001 Oct 31
2
suggested fix for the sigchld race
comments?
alternatives: sigsetjmp(ugly) and pselect(not portable, available)
drawback: additional filedescriptors.
Index: serverloop.c
===================================================================
RCS file: /home/markus/cvs/ssh/serverloop.c,v
retrieving revision 1.82
diff -u -r1.82 serverloop.c
--- serverloop.c 10 Oct 2001 22:18:47 -0000 1.82
+++ serverloop.c 11 Oct 2001 18:06:33 -0000
@@
2004 Aug 06
2
icecast + irix
Yeah, alright, it configures fine, and here's what happens when i make.
>make
.....yadayadayada..just some warnings here.....
(here is where it dies)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -g -O2 -Wall
-c connection.c
connection.c: In function `get_connection':
connection.c:191: `fd_set' undeclared (first use in this function)
connection.c:191: (Each undeclared
2020 Feb 26
2
[PATCH] lib: command: switch from select() to poll()
select() has a maximum value for the FDs it can monitor, and since
the libguestfs library can be used in other applications, this limit
may be hit by users in case lots of FDs are opened.
As solution, switch to poll(): it has a slightly better interface to
check what changed and for which FD, and it does not have a limit in the
value of the FDs monitored.
poll() is supported on the platforms we
2011 Oct 11
5
[PATCH] libxl: reimplement buffer for bootloading and drop data if buffer is full
# HG changeset patch
# User Roger Pau Monne <roger.pau@entel.upc.edu>
# Date 1318335991 -7200
# Node ID 2fb4bf8c16cd35ddc0bf7ddc7ff8fda4b9678211
# Parent 64f17c7e6c33e5f1c22711ae9cbdcbe191c20062
libxl: reimplement buffer for bootloading and drop data if buffer is full.
Implement a buffer for the bootloading process that appends data to the end until it''s full. Drop output from
2010 Feb 16
2
[LLVMdev] FD_ZERO unsupported inline asm on 64 bit
Hello,
I get this error when compiling this code with llvm-gcc:
error: unsupported inline asm: input constraint with a matching output constraint of incompatible type!
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
int
main(void)
{
2004 Jul 13
1
channel->input buffer bug and patch
In our work with enabling large windows for openssh we found
1) that if a window > 0x10000 is advertised to openssh's sshd
2) the sshd tries to send more than 0x10000 bytes of data
3) the receiver does not consume them
4) the input buffer will grow larger than the size allowed by buffer.c
and fatal().
We believe the correct behavior is to limit reading into the channel
input buffer to
2006 Sep 07
12
Multiple (multiplexed) simultaneous ssh connections - Cygwin bug?
Hello,
?
I need to make many (>50) ssh connections from linux to cygwin at the same time. Using Windows 2000 Server (OpenSSH_4.3p2, OpenSSL 0.9.8b and updated cygwin) and Linux RHEL4 (OpenSSH_3.9p1, OpenSSL 0.9.7a).
?
It's been difficult to optimize many simultaneous connections. Here were some issues:
1.?????? On Windows XP/Professional, Microsoft intentionally cripples the TCP/IP stack.
1998 Nov 05
1
compilation of 0.62.4
Hello,
I have compiled 0.62.4 under Linux and it runs fine (a gcc/g77
combination). When I try the same thing under AIX (4.1.5) or under dec's
OSF (both also gcc/g77) I get problems. Under AIX, system.c complains:
system.c: In function `waitForActivity':
system.c:150: `fd_set' undeclared (first use in this function)
system.c:150: (Each undeclared identifier is reported only once
2020 Feb 26
1
Re: [PATCH] lib: command: switch from select() to poll()
On Wednesday, 26 February 2020 15:08:24 CET Daniel P. Berrangé wrote:
> On Wed, Feb 26, 2020 at 02:39:04PM +0100, Pino Toscano wrote:
> > select() has a maximum value for the FDs it can monitor, and since
> > the libguestfs library can be used in other applications, this limit
> > may be hit by users in case lots of FDs are opened.
> >
> > As solution, switch to
2013 Jan 03
20
[PATCH] Switch to poll in xenconsoled's io loop.
The original implementation utilies select(). In Linux select() typically
supports up to 1024 file descriptors. This can be a problem when user tries to
boot up many guests. Switching to poll() has minimum impact on existing code
and has better scalibility.
Up to 8192 file descriptors are supported in the current implementation.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
2006 Apr 22
2
bug & patch in ServerAliveInterval (openssh 4.3-p2)
Hi openssh-unix-dev subscribers :)
I have found that ServerAliveInterval & ServerAliveCountMax have
some bug. Basically the ssh-alive check function (that verify the
peer is alive) is called only if no data at all gets into ssh (when it
should work only for server channel).I am pretty sure developers know
about this ..anyway I have tried to fix this issue. Here is the patch:
diff -rNu