Skip to content

Commit

Permalink
rawsocket test server: disable SO_REUSEADDR for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dylex committed Jun 27, 2024
1 parent f12f7e4 commit b068325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/resources/rawsocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
family = socket.AF_UNIX
addr = where

with socket.create_server(addr, family=family, reuse_port=True) as serv:
with socket.create_server(addr, family=family) as serv:
while True:
# only handle a single connection at a time
sock, caddr = serv.accept()
Expand Down

0 comments on commit b068325

Please sign in to comment.