• # Implémentation dans Linux ?

    Posté par . En réponse au lien Éloge de Plan 9, par Drew DeVault. Évalué à 7.

    Plan 9 is much more Unix in its approach: you open /net/tcp/clone to reserve a connection, and read the connection ID from it. Then you open /net/tcp/n/ctl and write "connect 127.0.0.1!80" to it, where "n" is that connection ID. Now you can open /net/tcp/n/data and that file is a full-duplex stream. No magic syscalls, and you can trivially implement it in a shell script.

    J'avais connaissance de ça, mais je me suis toujours demandé... pourquoi personne n'avait tenté de faire un module noyau (ou espace utilisateur ?) qui fait la même chose dans Linux ? Au moins pour tenter.

    Ça existe ?