Re: RPC clnt_create() adress already in use

2018-03-08 Thread Mark Geisert
PAULUS, Raimund, TI-ABN wrote: [...] Apologies for butting in, but there is one place you might look. It is not supported on the Cygwin lists; the few devs here already have overfull plates supporting current Windows OSs and Cygwin packages. It's the Cygwin Time Machine. Find it at http://ww

Re: RPC clnt_create() adress already in use

2018-03-08 Thread Corinna Vinschen
On Mar 8 06:55, PAULUS, Raimund, TI-ABN wrote: > > Hello Corinna, > > is there still an earlier snapshot of the cygwin1.dll, that works > under Windows XP? I'd like to try to make the adjustments myself (in > net.cc). XP is deprecated since August 2016. No later snapshot supports XP. Corinna

RE: RPC clnt_create() adress already in use

2018-03-07 Thread PAULUS, Raimund, TI-ABN
rinna Vinschen Gesendet: Dienstag, 27. Februar 2018 11:37 An: cygwin@cygwin.com Betreff: Re: RPC clnt_create() adress already in use On Feb 27 09:54, PAULUS, Raimund, TI-ABN wrote: > High Corinna, > > is it possible to get the patched cygwin1.dll for Cygwin 2.5.1? I have to > support sev

Re: RPC clnt_create() adress already in use

2018-03-02 Thread PAULUS, Raimund, TI-ABN
lease for my Win XP SP3 boxes. Raimund -Ursprüngliche Nachricht- Von: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] Im Auftrag von Mark Geisert Gesendet: Mittwoch, 28. Februar 2018 07:00 An: cygwin@cygwin.com Betreff: Re: RPC clnt_create() adress already in use Corinna Vins

Re: RPC clnt_create() adress already in use

2018-02-27 Thread Mark Geisert
Corinna Vinschen wrote: On Feb 27 09:54, PAULUS, Raimund, TI-ABN wrote: High Corinna, is it possible to get the patched cygwin1.dll for Cygwin 2.5.1? I have to support several older Win XP SP3 boxes. Sorry, we only support the current Cygwin build and keep the next older version as fallback.

Re: RPC clnt_create() adress already in use

2018-02-27 Thread Corinna Vinschen
On Feb 27 09:54, PAULUS, Raimund, TI-ABN wrote: > High Corinna, > > is it possible to get the patched cygwin1.dll for Cygwin 2.5.1? I have to > support several older Win XP SP3 boxes. Sorry, we only support the current Cygwin build and keep the next older version as fallback. It's just not feas

Re: RPC clnt_create() adress already in use

2018-02-27 Thread PAULUS, Raimund, TI-ABN
. Februar 2018 15:20 An: cygwin@cygwin.com Betreff: Re: RPC clnt_create() adress already in use On Feb 6 11:29, PAULUS, Raimund, TI-ABN wrote: > On Feb 5 15:06, Corinna Vinschen wrote: > > On Feb 5 14:34, Corinna Vinschen wrote: > > > On Feb 5 12:26, Corinna Vinschen wrote: > >

Re: RPC clnt_create() adress already in use

2018-02-06 Thread Mark Geisert
Corinna Vinschen wrote: On Feb 6 11:29, PAULUS, Raimund, TI-ABN wrote: On Feb 5 15:06, Corinna Vinschen wrote: [...] I've pushed a few patches and uploaded new developer snapshots to https://cygwin.com/snapshots. Please give them a try. with the snapshot of cygwin1.dll and using bindresvpo

Re: RPC clnt_create() adress already in use

2018-02-06 Thread Corinna Vinschen
On Feb 6 11:29, PAULUS, Raimund, TI-ABN wrote: > On Feb 5 15:06, Corinna Vinschen wrote: > > On Feb 5 14:34, Corinna Vinschen wrote: > > > On Feb 5 12:26, Corinna Vinschen wrote: > > > > [...] > > > > What potential solutions to this problem do we have? > > > > > > > > - bindresvport could enf

Re: RPC clnt_create() adress already in use

2018-02-06 Thread PAULUS, Raimund, TI-ABN
...@cygwin.com] Im Auftrag von Corinna Vinschen Gesendet: Montag, 5. Februar 2018 21:15 An: cygwin@cygwin.com Betreff: Re: RPC clnt_create() adress already in use On Feb 5 15:06, Corinna Vinschen wrote: > On Feb 5 14:34, Corinna Vinschen wrote: > > On Feb 5 12:26, Corinna Vinsc

Re: RPC clnt_create() adress already in use

2018-02-05 Thread Corinna Vinschen
On Feb 5 15:06, Corinna Vinschen wrote: > On Feb 5 14:34, Corinna Vinschen wrote: > > On Feb 5 12:26, Corinna Vinschen wrote: > > > To reiterate the problem we observe: > > > > > > - socket() > > > - setsockopt (SO_REUSEADDR) > > > - bind() succeeds > > > - connect() fails with EADDRINUSE while

Re: RPC clnt_create() adress already in use

2018-02-05 Thread PAULUS, Raimund, TI-ABN
never in the bash. Raimund -Ursprüngliche Nachricht- Von: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] Im Auftrag von Mark Geisert Gesendet: Montag, 5. Februar 2018 11:29 An: cygwin@cygwin.com Betreff: Re: RPC clnt_create() adress already in use PAULUS, Raimund, TI-ABN wrote

Re: RPC clnt_create() adress already in use

2018-02-05 Thread Corinna Vinschen
On Feb 5 14:34, Corinna Vinschen wrote: > On Feb 5 12:26, Corinna Vinschen wrote: > > To reiterate the problem we observe: > > > > - socket() > > - setsockopt (SO_REUSEADDR) > > - bind() succeeds > > - connect() fails with EADDRINUSE while socket is still in TIME_WAIT > > > > using bindresvport

Re: RPC clnt_create() adress already in use

2018-02-05 Thread Corinna Vinschen
On Feb 5 12:26, Corinna Vinschen wrote: > On Feb 5 02:29, Mark Geisert wrote: > > Using Cygwin's bindresvport() is the best solution because Cygwin keeps > > track of the last port number it has allocated *to any Cygwin program*. > > This is the only approach that can deal with multiple programs

Re: RPC clnt_create() adress already in use

2018-02-05 Thread Corinna Vinschen
On Feb 5 02:29, Mark Geisert wrote: > PAULUS, Raimund, TI-ABN wrote: > > Hello Mark, > > > > unfortunately i must correct my statement from Friday. > > The program works, but only if the connections to the server are > > established in a loop inside the program. > > If the program ends and you s

Re: RPC clnt_create() adress already in use

2018-02-05 Thread Mark Geisert
PAULUS, Raimund, TI-ABN wrote: Hello Mark, unfortunately i must correct my statement from Friday. The program works, but only if the connections to the server are established in a loop inside the program. If the program ends and you start it anew, a connection is not possible for a long time.

Re: RPC clnt_create() adress already in use

2018-02-05 Thread PAULUS, Raimund, TI-ABN
portnumber and run in EADDRINUSE? Greetings Raimund -Ursprüngliche Nachricht- Von: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] Im Auftrag von PAULUS, Raimund, TI-ABN Gesendet: Freitag, 2. Februar 2018 13:58 An: cygwin@cygwin.com Betreff: Re: RPC clnt_create() adress already in

Re: RPC clnt_create() adress already in use

2018-02-02 Thread PAULUS, Raimund, TI-ABN
: RPC clnt_create() adress already in use Mark Geisert wrote: > Corinna Vinschen wrote: >> On Jan 31 00:15, Mark Geisert wrote: >>> PAULUS, Raimund, TI-ABN wrote: >>>> Hi Mark, >>>> >>>> in my email >>>> (https://sourceware.org/ml/cygwi

Re: RPC clnt_create() adress already in use

2018-02-02 Thread Mark Geisert
Mark Geisert wrote: Corinna Vinschen wrote: On Jan 31 00:15, Mark Geisert wrote: PAULUS, Raimund, TI-ABN wrote: Hi Mark, in my email (https://sourceware.org/ml/cygwin/2017-12/msg00194.html) i described 2 approaches. I prefer nr 1. Here the part of the source in bindresvport.c: [...] [...]

Re: RPC clnt_create() adress already in use

2018-01-31 Thread Mark Geisert
Corinna Vinschen wrote: On Jan 31 00:15, Mark Geisert wrote: PAULUS, Raimund, TI-ABN wrote: Hi Mark, in my email (https://sourceware.org/ml/cygwin/2017-12/msg00194.html) i described 2 approaches. I prefer nr 1. Here the part of the source in bindresvport.c: [...] [...] I'm a bit puzzled h

Re: RPC clnt_create() adress already in use

2018-01-31 Thread Corinna Vinschen
On Jan 31 00:15, Mark Geisert wrote: > PAULUS, Raimund, TI-ABN wrote: > > Hi Mark, > > > > in my email (https://sourceware.org/ml/cygwin/2017-12/msg00194.html) i > > described 2 approaches. I prefer nr 1. > > Here the part of the source in bindresvport.c: > > [...] > > This causes bind() to sear

Re: RPC clnt_create() adress already in use

2018-01-31 Thread Mark Geisert
PAULUS, Raimund, TI-ABN wrote: Hi Mark, in my email (https://sourceware.org/ml/cygwin/2017-12/msg00194.html) i described 2 approaches. I prefer nr 1. Here the part of the source in bindresvport.c: -

Re: RPC clnt_create() adress already in use

2018-01-30 Thread PAULUS, Raimund, TI-ABN
libtirpc is not usable and I have to use Cygwin 1.5.18 with the old librpc. Raimund -Ursprüngliche Nachricht- Von: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] Im Auftrag von Mark Geisert Gesendet: Dienstag, 30. Januar 2018 10:05 An: cygwin@cygwin.com Betreff: Re: RPC clnt_

Re: RPC clnt_create() adress already in use

2018-01-30 Thread Mark Geisert
PAULUS, Raimund, TI-ABN wrote: Hi Mark, as Corinna wrote in the thread " Cygwin socket option SO_REUSEADDR operates unlike Linux", the cause for the problem in libtirpc is Microsofts implementation of socket handling. If i implement a simple socket client, that is not so much of an issue, becau

Re: RPC clnt_create() adress already in use

2018-01-29 Thread PAULUS, Raimund, TI-ABN
Hi Mark, as Corinna wrote in the thread " Cygwin socket option SO_REUSEADDR operates unlike Linux", the cause for the problem in libtirpc is Microsofts implementation of socket handling. If i implement a simple socket client, that is not so much of an issue, because I call the functions separate

Re: RPC clnt_create() adress already in use

2017-12-27 Thread Mark Geisert
Hi Raimund, Comments embedded below... PAULUS, Raimund, TI-ABN wrote: Hello Mark, in my earlier tests the lib and header files for tirpc was still there from the Cygwin-installation. I think, this could influence the results of the tests. Therefore i removed these files. From now on i used onl

Re: RPC clnt_create() adress already in use

2017-12-19 Thread PAULUS, Raimund, TI-ABN
Hello Mark, in my earlier tests the lib and header files for tirpc was still there from the Cygwin-installation. I think, this could influence the results of the tests. Therefore i removed these files. From now on i used only the downloaded files from sourceforge (https://sourceforge.net/project

Re: RPC clnt_create() adress already in use

2017-09-29 Thread Mark Geisert
PAULUS, Raimund, TI-ABN wrote: Hello Mark, i downloaded the sources of libtirpc from this url: https://sourceforge.net/projects/libtirpc/files/libtirpc/1.0.1/ and unpacked it in the local subdirectory libtirpc-1.0.1. I had to make the following changes: libtirpc-1.0.1/src/clnt_bcast.c (becaus

Re: RPC clnt_create() adress already in use

2017-09-29 Thread PAULUS, Raimund, TI-ABN
27. September 2017 11:50 An: cygwin@cygwin.com Betreff: Re: RPC clnt_create() adress already in use Hello Raimund, Let's keep this on the mailing list please. PAULUS, Raimund, TI-ABN wrote: > Hallo Mark Geisert, > > many thanks for your answer. I supposed this too. > > I

Re: RPC clnt_create() adress already in use

2017-09-27 Thread PAULUS, Raimund, TI-ABN
n.com [mailto:cygwin-ow...@cygwin.com] Im Auftrag von Mark Geisert Gesendet: Mittwoch, 27. September 2017 11:50 An: cygwin@cygwin.com Betreff: Re: RPC clnt_create() adress already in use Hello Raimund, Let's keep this on the mailing list please. PAULUS, Raimund, TI-ABN wrote: > Hallo Mark Geis

Re: RPC clnt_create() adress already in use

2017-09-27 Thread Mark Geisert
Hello Raimund, Let's keep this on the mailing list please. PAULUS, Raimund, TI-ABN wrote: Hallo Mark Geisert, many thanks for your answer. I supposed this too. I included in my source code the following function calls after clnt_create(): int fd = 0; bool bool_ret = clnt_control(cl, CLGET_FD,

Re: Re: RPC clnt_create() adress already in use

2017-09-27 Thread PAULUS, Raimund, TI-ABN
if(retval < 0) sprintf(local_errmsg, "close(): %s", strerror(errno)); } return(retval); } -----Ursprüngliche Nachricht- Von: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] Im Auftrag von Mark Geisert Gesendet: Sonntag, 24. September 2017 11:49 An: cy

Re: RPC clnt_create() adress already in use

2017-09-24 Thread PAULUS, Raimund, TI-ABN
in.com] Im Auftrag von Mark Geisert Gesendet: Sonntag, 24. September 2017 11:49 An: cygwin@cygwin.com Betreff: Re: RPC clnt_create() adress already in use PAULUS, Raimund, TI-ABN wrote: > In our environment we have a Linux-Server and several Windows-PCs (Windows XP > SP3, in the past Windows

Re: RPC clnt_create() adress already in use

2017-09-24 Thread Mark Geisert
PAULUS, Raimund, TI-ABN wrote: In our environment we have a Linux-Server and several Windows-PCs (Windows XP SP3, in the past Windows NT too). On the Linux-Server RPC-Services (Remote Procedure Call) are running, one service for one Windows-PC each. To build the RPC-clients on the Windows-boxe