[Winpcap-users] pcap_sendpacket async or sync behaviour?

Gianluca Varenni gianluca.varenni at cacetech.com
Thu Sep 25 18:30:12 GMT 2008

pcap_sendpacket is basically sync, i.e. it passes the packet to be transmitted to the underlying miniport controlling the NIC, and it waits for such miniport to return. However, the miniport might decide to return success even if the packet has been scheduled to be transmitted (i.e. it's in some transmit queue) but has not actually been transmitted yet.

Does it make any sense to you?

Have a nice day
  ----- Original Message ----- 
  From: Carlo Medas 
  To: winpcap-users at winpcap.org 
  Sent: Wednesday, September 24, 2008 10:09 AM
  Subject: [Winpcap-users] pcap_sendpacket async or sync behaviour?

  Dear all,

  sorry for newbie question but... I was wondering if pcap_sendpacket is sync or async.

  If it's async, do I get a special error reported?
  If it's sync, I suppose that it would block until my packet has been sent?

  Thank you in advance.

  Best regards,

  \Carlo Medas


  Winpcap-users mailing list
  Winpcap-users at winpcap.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20080925/fa9a6419/attachment.htm

More information about the Winpcap-users mailing list