<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2800.1593" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=954462922-11062007><FONT face=Arial
color=#800080 size=2>You should be able to get this by including
winsock2.h</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=954462922-11062007><FONT face=Arial
color=#800080 size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=954462922-11062007><FONT face=Arial
color=#800080 size=2>The definition is actually in
ws2tcpip.h.</FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>---<BR>Steighton
Haley
shaley@mcafee.com<BR>Software Engineer<BR><BR>"In the beginning was the
word.<BR>But by the time the second word was added to it, There was
trouble.<BR>For with it came syntax
..."<BR>
-- John Simon </FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #800080 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> winpcap-users-bounces@winpcap.org
[mailto:winpcap-users-bounces@winpcap.org] <B>On Behalf Of </B>gogh
van<BR><B>Sent:</B> Sunday, June 10, 2007 9:56 AM<BR><B>To:</B>
winpcap-users@winpcap.org<BR><B>Subject:</B> [Winpcap-users] About
"socklen_t"<BR></FONT><BR></DIV>
<DIV></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> ),
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>
</BLOCKQUOTE></BODY></HTML>