[Winpcap-users] About "socklen_t"
Gianluca Varenni
gianluca.varenni at cacetech.com
Thu Jun 14 16:31:19 GMT 2007
did you find a solution to your problem about this structure?
If you are compiling the samples with Visual Studio 6, I think you need to have the Microsoft Platform SDK **for visual studio 6** installed and registered within VS (if I remember well socklen_t was not available in the original include files shipped with VS6).
Such *old* Platform SDK is available here
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm
Do not try to use a more recent PSDK with Visual Studio 6, it doesn't work.
Hope it helps
GV
----- Original Message -----
From: gogh van
To: winpcap-users at winpcap.org
Sent: Sunday, June 10, 2007 9:56 AM
Subject: [Winpcap-users] About "socklen_t"
In the manual for winpcap 4.0 ( http://www.winpcap.org/docs/docs_40/html/group__wpcap__tut2.html ), i met a variable type named socklen_t. some people say it is defined in the header file sys/socket.h. but in M$ system i can not find the definition of it.
shall i provide a socklen_t equivalent? and it is saft to define the socklen_t type as unsinged int or just int?
------------------------------------------------------------------------------
抢注雅虎免费邮箱3.5G容量,20M附件!
------------------------------------------------------------------------------
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20070614/81c5d214/attachment.htm
More information about the Winpcap-users
mailing list