<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Courier New" size=2>did you find a solution to your problem 
about this structure?</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>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).</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>Such *old* Platform SDK is available 
here</FONT></DIV>
<DIV><FONT face="Courier New" size=2><A 
href="http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm">http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm</A></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>Do not try to use a more recent PSDK with 
Visual Studio 6, it doesn't work.</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Courier New" size=2>Hope it helps</FONT></DIV>
<DIV><FONT face="Courier New" size=2>GV</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=van.nacht@yahoo.com.cn href="mailto:van.nacht@yahoo.com.cn">gogh 
  van</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org 
  href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, June 10, 2007 9:56 AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] About 
  "socklen_t"</DIV>
  <DIV><BR></DIV>
  <DIV>In the manual for winpcap 4.0 ( <A 
  href="http://www.winpcap.org/docs/docs_40/html/group__wpcap__tut2.html">http://www.winpcap.org/docs/docs_40/html/group__wpcap__tut2.html</A>&nbsp;), 
  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. </DIV>
  <DIV>shall i provide a socklen_t equivalent? and it is saft to define the 
  socklen_t type as unsinged int or just int?<I><BR></DIV></I>
  <P>
  <HR SIZE=1>
  <A href="http://cn.mail.yahoo.com" target=blank>ÇÀ×¢ÑÅ»¢Ãâ·ÑÓÊÏä3.5GÈÝÁ¿£¬20M¸½¼þ£¡</A> 
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Winpcap-users 
  mailing 
  list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>