Skip to content

Commit

Permalink
Server listener and client connections have is_server set. (#2338)
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen committed Sep 27, 2024
1 parent cca6254 commit ae140ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/server/async_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self, owner):
host=owner.comm_params.source_address[0],
port=owner.comm_params.source_address[1],
)
super().__init__(params, False)
super().__init__(params, True)
self.server = owner
self.running = False
self.receive_queue: asyncio.Queue = asyncio.Queue()
Expand Down

0 comments on commit ae140ce

Please sign in to comment.