Discussion:
[Vtun-Users] pipe tunneling
Bruce
2008-04-03 22:59:28 UTC
Permalink
Hi,

I'm looking at using vtun to move data over a link that requires me to
package data into at commands like atd addr, ack, len<cr> data.

I was thinking the pipe solution would work. There is little info on using
pipes, I wanted to use named pipes. However, maybe I should create my own
type for moving data over the interface. Maybe i'm missing an obvious way
of doing this. The structure of the network would be:

my special tty <--- my appl that packages rx/tx data ---> pipe <--- vtun
----> other appls using standard tcp protocol.

So how do I mate to the socketpair call? I would think I need to change the
pipe_dev so it opens either a direct socket to my app or a named pipe.
Suggestions?

Thanks,
Bruce

Loading...