LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-05-2008, 07:49 AM   #1
tassadaque
LQ Newbie
 
Registered: Jun 2008
Posts: 15

Rep: Reputation: 0
how can use libpcap to send packets,just like winpcap do?


how can use libpcap to send packets,just like winpcap do?
 
Old 06-05-2008, 11:43 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You probably want to look at using pcap_inject() or pcap_sendpacket(). I've never used these functions myself, as I've only used libpcap for capturing packets.
 
  


Reply



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
How do I send WOL packets ? Bobymc Linux - Software 2 06-11-2006 09:01 PM
dropping and forwarding packets using libpcap escorp Linux - Networking 2 04-08-2006 08:18 PM
Can't sniff packets using libpcap masterm Linux - Networking 0 05-17-2005 05:58 PM
how can i use libpcap to capture packets for the local loopback interface (lo) ? gajaykrishnan Programming 0 02-22-2005 04:03 AM
send packets at network Jamesminh Linux - Networking 0 10-01-2004 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:06 PM.

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
Open Source Consulting | Domain Registration