I have a router that is a livebox play(orange) like every router I think but the problem is that I need to have a connection completely closed before a socket/websocket server receives something. For exemple in a websocket I need to close Chrome before the server receives.
I ask a question about how to do a hard close in websocket and they tell me that my network is strange so when no one ask it, i ask my question why a router let pass the data only after having a completely closed connection?
the python websocket serveur
async def Time(websocket, path):
a=await websocket.recv()
print(a)
await websocket.close()
start_server = websockets.serve(Time, "0.0.0.0", 5677)
loop=asyncio.get_event_loop()
loop.run_until_complete(start_server)
loop.run_forever()