[Winpcap-users] BUG rpcapd - unable to attach previously used socket

Tomas Konir Tomas.Konir at liberouter.org
Wed Apr 28 02:42:49 PDT 2010


in repeated execution rpcapd is unable to attach previously used socket and
shows msg:
bind(): Address already in use (code 98)

This can be prevented using setsockopt with SO_REUSEADDR as in attached
patch.

I don't know if windows has similar functinality and setsockopt is enclosed
with #ifdef WIN32

MOJE

-- 
Tomas Konir
Prague
Czech Republic
ICQ:      25849167
Jabber: Tomas.Konir at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20100428/eadf5d77/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reuse-socket.diff
Type: application/octet-stream
Size: 643 bytes
Desc: not available
Url : http://www.winpcap.org/pipermail/winpcap-users/attachments/20100428/eadf5d77/attachment.obj 


More information about the Winpcap-users mailing list