From:	MERC::"uunet!VM1.NoDak.EDU!ANU-NEWS" 24-JUN-1992 04:04:48.62
To:	Multiple recipients of list ANU-NEWS <ANU-NEWS@VM1.NoDak.EDU>
CC:	
Subj:	Re: NNTP_XMIT using UCX?

In article <1992Jun23.172928.4322@ecl.psu.edu> fenner@jazz.psu.edu (Bill Fenner)
 writes:
|However, I can't get an NNTP_XMIT that I compiled with UCX
|defined to work.  I recompiled with the UCXQ parameter to NEWSBUILD.

Fixed.  It turns out that the UCX code for NNTP_XMIT was trying to bind
to the NNTP port locally, instead of getting a port assigned to it.  The
NNTP server was already bound to the NNTP port so the bind failed.

Fix: Around line 611, within the #if UCX, there is the following line:

      local_host.inet_port = htons(NNTP_PORT);  /* dynamic port assignment */

Replace this with

      local_host.inet_port = 0;  /* dynamic port assignment */

Funny that the comment says the right thing but the code says the wrong thing.

  Bill
--
Bill Fenner     fenner@jazz.psu.edu     ..psuvax1!hogbbs!wcfpc!wcf
                wcf@hogbbs.scol.pa.us   (+1 814 238-9633 v.32bis)
