[Winpcap-users] Problems with Tutorial no.6 (UDP dump)

Tomek Czerwinski czerwin99 at tlen.pl
Tue May 2 23:49:38 GMT 2006

Im just starting with WinPcap, so sorry, if it will be a nooby
I use Microsoft Visual Studio 6.0 on WinXP. Today I tryied to run all
tutorials from the WinPcap site to see if anything goes wrong. Whole
code from lessons 1-5 works (compile+link+runs) just fine, but when
trying to link tutorial 6 i get such error:

source.obj : error LNK2001: unresolved external symbol __imp__ntohs at 4
Debug/Lekcja6.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Lekcja6.exe - 2 error(s), 0 warning(s)

On lines 193 and 194 i see that linker is haveing a problem with
function ntosh() and I dont have any idea why. I would be really
gratefull for any help!

And sorry for my english:> I havent slept for 3 days:/

More information about the Winpcap-users mailing list