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
ygwin.com [mailto:cygwin-ow...@cygwin.com] Im > Auftrag von PAULUS, Raimund, TI-ABN > Gesendet: Dienstag, 9. Januar 2018 09:14 > An: cygwin@cygwin.com > Betreff: WG: AW: RPC clnt_create() adress already in use [...] Hi Raimund, Where, exactly, would you set the port number to zero? I can imag

Re: RPC clnt_create() adress already in use

2018-01-30 Thread Mark Geisert
ar 2018 09:14 An: cygwin@cygwin.com Betreff: WG: AW: RPC clnt_create() adress already in use [...] Hi Raimund, Where, exactly, would you set the port number to zero? I can imagine how this would solve the problem you're seeing but I'm concerned about other use cases. It also seems a l

Re: RPC clnt_create() adress already in use

2018-01-29 Thread PAULUS, Raimund, TI-ABN
om Betreff: WG: AW: RPC clnt_create() adress already in use Hi Mark, i have just tested it with the client-program from my email from December 29. The server-program is running on a linux-machine (SuSE Enterprise). I compiled and linked the client.exe in Cygwin 1.5.18 on a PC with Windows XP

WG: AW: RPC clnt_create() adress already in use

2018-01-09 Thread PAULUS, Raimund, TI-ABN
n.com [mailto:cygwin-ow...@cygwin.com] Im Auftrag von Mark Geisert Gesendet: Dienstag, 9. Januar 2018 05:52 An: cygwin@cygwin.com Betreff: Re: AW: RPC clnt_create() adress already in use Hi Raimund, I think I might have an idea where the root cause is. But first I want to revisit your very first email on

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

2018-01-08 Thread Mark Geisert
Hi Raimund, I think I might have an idea where the root cause is. But first I want to revisit your very first email on this subject, from last September 22. You mentioned test results from various Cygwin versions vs various Windows versions. Are you absolutely sure your test program ran corr

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

2018-01-02 Thread PAULUS, Raimund, TI-ABN
:50 An: cygwin@cygwin.com Betreff: Re: AW: RPC clnt_create() adress already in use Hi Raimund, I think I've now got a working RPC test-bed on my Cygwin machine. I did have to deal with Windows Firewall but it was easy. I installed rpcbind, started it up, compiled following your recipe an

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

2017-12-31 Thread Mark Geisert
Hi Raimund, I think I've now got a working RPC test-bed on my Cygwin machine. I did have to deal with Windows Firewall but it was easy. I installed rpcbind, started it up, compiled following your recipe and ran './server' and './client localhost' in two separate windows. What I see is this..

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

2017-12-29 Thread PAULUS, Raimund, TI-ABN
Cygwin gcc -I/usr/include/tirpc -c date_clnt.c gcc -I/usr/include/tirpc -c date_svc.c gcc -I/usr/include/tirpc -c dateproc.c gcc -I/usr/include/tirpc -c rdate.c gcc -o client date_clnt.o rdate.o -ltirpc gcc -o server date_svc.o dateproc.o -ltirpc I hope this will help Raimund -Ursprünglic

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
nly difference her is: a connection does not create a pair of ports but only a single port (netstat -n). Greetings Raimund -Ursprüngliche Nachricht- Von: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] Im Auftrag von Mark Geisert Gesendet: Mittwoch, 22. November 2017 22:55 A

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

2017-11-22 Thread Mark Geisert
(3rd attempt at sending this) PAULUS, Raimund, TI-ABN wrote: Hello Mark, is there any news with respect to libtirpc? Very important: I need it in Cygwin 2.5.1. I neglected to report what I found; sorry for that. The difference(s) between the vanilla libtirpc 1.0.1 that you downloaded and t

WG: RPC clnt_create() adress already in use

2017-11-21 Thread PAULUS, Raimund, TI-ABN
@cygwin.com Betreff: Re: RPC clnt_create() adress already in use 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 libt

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

AW: 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

RPC clnt_create() adress already in use

2017-09-22 Thread PAULUS, Raimund, TI-ABN
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-boxes, I used Cygwin 1.5.18 and actua