Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-24-2009, 12:53 AM   #1
LQ Newbie
Registered: May 2008
Posts: 1

Rep: Reputation: 0
Wink Difference between tun & tap

Hi All,

Please provide any basic c programs to understand tun & tap difference better.

Old 09-24-2009, 03:00 AM   #2
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Originally Posted by vrush_son View Post
Hi All,

Please provide any basic c programs to understand tun & tap difference better.

Okay, here ya go. In a file named "program.c", we have:

#include <stdio.h>

int main(int argc, char **argcv) {
   printf("Have you considered looking this up on Google?\n");
   return 0;
$ make program
cc program.c -o program
$ ./program
Have you considered looking this up on Google?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help on TUN/TAP vinodl Linux - Networking 1 06-22-2009 11:18 AM
tun tap query karan84 Linux - Networking 1 03-26-2007 11:29 AM
tun tap doubt karan84 Linux - Networking 2 01-10-2007 01:43 AM
Tun/Tap issue minasafwat Linux - Kernel 0 11-14-2006 01:11 AM
Tun/Tap getting started? blavo Linux - Newbie 0 02-14-2006 10:29 AM

All times are GMT -5. The time now is 05:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration