Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-05-2008, 08:49 AM   #1
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, 12:43 PM   #2
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.


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

All times are GMT -5. The time now is 06:36 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