From: MERC::"uunet!VM1.NoDak.EDU!ANU-NEWS" 24-JUN-1992 02:42:56.10 To: Multiple recipients of list ANU-NEWS CC: Subj: Re: NNTP_XMIT using UCX? --- In article <1992Jun23.172928.4322@ecl.psu.edu>, fenner@jazz.psu.edu (Bill Fenner ) writes: > I have been using CMU TCP for my NNTP transferss. The CMU IPACP is now > taking up about 20% of the CPU, so we're thinking that switching to UCX will > lower overhead. However, I can't get an NNTP_XMIT that I compiled with UCX > defined to work. I recompiled with the UCXQ parameter to NEWSBUILD. > > If file foo.bar has one message-ID in it, and I do this: > > ECLD> mcr []nntp_xmit ecl.psu.edu ucx foo.bar deb.1 deb.2 > Connecting to NEWS SERVER on node ecl.psu.edu ... > ECLD> type deb.1 > 23 Jun 92 17:26:02 ecl.psu.edu: nntpxmit: ecl.psu.edu, Error: Connection lost, t > ransfer aborted. > > ECLD> type deb.2 > X> Try open channel to remote node > Net: Could not open network channel > Cannot connect to node, retry: <1992Jun23.175112.12352@rice.edu> > Are you also running NNTP_TCPUCXM. If so then the problem is almost certainly the bug in nntp_xfer and nntp_xmit in module open_net. Look for the following: #if UCX else if (proto == UCXTCP) { if (sys$assign(c$dsc("BG:"),&net_chan,0,0) & 1) { sck_parm[0] = INET$C_TCP; sck_parm[1] = INET_PROTYP$C_STREAM; local_host.inet_family = INET$C_AF_INET; local_host.inet_port = 0; /* dynamic port assignment */ ^^^^^^^^^^^^^^^^^^^^ ^ The above is the correct code. As released it was local_host.inet_port = htons(NNTP_PORT); which is incorrect, since port 119 is reserved for the server, hence the conflict. This is fixed in >= 6.1a2. If this is not the problem, it is far easier to debug using telnet. $telnet ecl.psu.edu 119 then enter nntp commands. Note if you can do this, then you probably _do_ have the above bug in nntp_xmit :-) Cheers. ---- David E. Bellamy Email: bellamy@commerce.uq.oz.au Dept. Commerce, University of Queensland, St. Lucia, AUSTRALIA