do
{
// WaitForSingleObject(FD_VERSANET_HANDLE, INFINITE);
res = pcap_next_ex( FD_VERSANET, &header, &vnLaninBuf);
if (res == 0)
continue; /* timeout */
printf("got one %d\n", header->caplen);
} while (TRUE);
If the WaitForSingleObject is commented out, it works fine, and the printf executes. If the Wait is compiled in, the event is never signaled and the
WaitFor does not return. Am I using the event incorrectly, or??? Any help would be appreciated, or if it is perhaps a bug I would be glad to help
find it.
Bill Campbell
================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use mailto: [EMAIL PROTECTED]
==================================================================
