Messages in this thread |  | | | Date | Thu, 22 Jan 1998 10:04:36 +0000 (GMT/BST) | | From | Mike Jagdis <> | | Subject | Re: PATCH: Unix98 pty support. | |
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 |
`----------------------------------------------------------------------'
|  |