Hi. I have never tested it myself, but I think it is possible.
Sockets are usually managed on top of the tcp-ip stack, that handles "loopback" packets. WinPcap interacts directly with the network card driver, so the packets that you send through winpcap are really sent on the network. Have a nice day GV ----- Original Message ----- From: "Lee Noll" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 12, 2004 5:35 PM Subject: [WinPcap-users] LoopBack Test > Could WinPCap (maybe in conjunction with libnet) be used to > transmit data from a FDDI card, have it go around the ring, then > be read back on the *same* adapter as a confidence test of the > adapter and cabling? I would want to send a fair amount of data > with random patterns to raise the confidence level. > > What would the general roadmap be for doing this? What > examples would be good to look at? I'm new to WinPCap but am > an experienced programmer. > > In the socket realm (WinSock) I've been told this would not be > possible because loopback is enforced in software before reaching > the adapter. I'm hoping using lower level software like WinPCap > will enable me to do this simply. > > Thanks, > Lee Noll > > > ================================================================== > This is the WinPcap users list. It is archived at > http://www.mail-archive.com/[EMAIL PROTECTED]/ > > To unsubscribe use > mailto: [EMAIL PROTECTED] > ================================================================== > ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe use mailto: [EMAIL PROTECTED] ==================================================================
