TCP Socket reuse problem in chrome driver

62 views
Skip to first unread message

Hover Wang

unread,
Sep 23, 2016, 9:55:12 PM9/23/16
to splinter-users

It seems that every time I request to chrome driver, system will generate a [system process] with PID=0, state = TIME_WAIT, after a short while all my local ports are occupied and the system report WinError 10048: 'Only one usage of each socket address is normally permitted'


I have tried to set: s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1), but seems that system is still occupying that process so I get the error...


Do anyone know how to fix it? Thanks!


Hover Wang

unread,
Sep 23, 2016, 9:56:39 PM9/23/16
to splinter-users

The TCP connection is like this: use new local port at each request to splinter...

 



在 2016年9月24日星期六 UTC+8上午9:55:12,Hover Wang写道:
Reply all
Reply to author
Forward
0 new messages