Re: [nodejs] Tap/Tun devices on Mac?

2012-07-04 Thread Ben Noordhuis
On Thu, Jul 5, 2012 at 2:19 AM, Benni Graf wrote: > Hi everyone! > > I'm trying to read from and write to Tap/Tun devices on Mac OS X Leopard > (http://tuntaposx.sourceforge.net/). Did anyone ever do this? ;-) > > Basically I thought they're just sockets, so I should be able to use them as > descr

[nodejs] Tap/Tun devices on Mac?

2012-07-04 Thread Benni Graf
Hi everyone! I'm trying to read from and write to Tap/Tun devices on Mac OS X Leopard (http://tuntaposx.sourceforge.net/). Did anyone ever do this? ;-) Basically I thought they're just sockets, so I should be able to use them as described in the net documentation, i.e.: var net = require('net'