lkml.org 
[lkml]   [1998]   [Jan]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 22 Jan 1998 10:04:36 +0000 (GMT/BST)
FromMike Jagdis <>
SubjectRe: 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        |
`----------------------------------------------------------------------'

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008