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: [email protected]

Attachment: reuse-socket.diff
Description: Binary data

_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to