[Winpcap-users] About "socklen_t"

Steighton_Haley at McAfee.com Steighton_Haley at McAfee.com
Mon Jun 11 22:31:11 GMT 2007


You should be able to get this by including winsock2.h
 
The definition is actually in ws2tcpip.h.
 

---
Steighton Haley                          shaley at mcafee.com
Software Engineer

"In the beginning was the word.
But by the time the second word was added to it, There was trouble.
For with it came syntax ..."
                -- John Simon  

 


________________________________

	From: winpcap-users-bounces at winpcap.org [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of gogh van
	Sent: Sunday, June 10, 2007 9:56 AM
	To: winpcap-users at winpcap.org
	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附件! <http://cn.mail.yahoo.com>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20070611/334bf137/attachment.htm


More information about the Winpcap-users mailing list