LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-24-2009, 01:53 AM   #1
vrush_son
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.


Vru
 
Old 09-24-2009, 04:00 AM   #2
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

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

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


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

Code:
#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?
 
  


Reply


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 12:18 PM
tun tap query karan84 Linux - Networking 1 03-26-2007 12:29 PM
tun tap doubt karan84 Linux - Networking 2 01-10-2007 02:43 AM
Tun/Tap issue minasafwat Linux - Kernel 0 11-14-2006 02:11 AM
Tun/Tap getting started? blavo Linux - Newbie 0 02-14-2006 11:29 AM


All times are GMT -5. The time now is 02:31 AM.

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