Re: PATCH: Unix98 pty support.

Mike Jagdis (mike@roan.co.uk)
Thu, 22 Jan 1998 10:04:36 +0000 (GMT/BST)


On Wed, 21 Jan 1998, Alan Cox wrote:

> While you are doing ptmx to hand out ptys you might want to
> make /dev/tcp hand out tcp sockets and /dev/udp hand out udp sockets for
> Alexey's TLI emulation libraries - assuming its easy anyway :0

It's not _difficult_ as such but you have to create a socket on
the fly and switch it with the file handle from /dev/{tcp,udp}
on the fly. It's easier to map in the library but if you want
it in the kernel you could just rip it out of iBCS. At one time
I intended to make the socksys/TLI stuff a separate module anyway.
(Doing device clones should be easier than doing device -> socket
clones)

Mike

-- 
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  54A Peach Street, Wokingham  |  Telephone:  +44 118 989 0403        |
|  RG40 1XG, ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'