Aunc.1736
net.lan
utcsrgv!utzoo!decvax!duke!unc!smb
Wed Jan 20 08:52:13 1982
uucp over a local net
I modified uucp to run on a Purdue EE net channel.  As Brad Templeton
said, the basic change was to add a new connection protocol to
conn.c.  However, a few other mods were necessary; in particular, cico.c
had some code that *knew* it was talking to a tty -- a few ioctl() calls,
for example.  I moved those to someplace harmless and/or ignored the
return codes.  Then it would transmit fine, but wouldn't terminate cleanly.
The problem was the flow control protocol used by the network.  Specifically,
when a buffer is written, any further writes will block until that buffer
is read.  At close time, the packet driver writes a series of close messages,
and then waits for even one response.  Here, it never got to look for one,
because the second write hung.  The other end, of course, was doing the same
thing.

-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <[email protected]>
of http://communication.ucsd.edu/A-News/


This Usenet Oldnews Archive
article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.