To test the behavior of a web socket client writter in elixir, I was wondering how to force close a socket.
The solution is quite simple and reside in the ss
command:
sudo ss -K dst 1.1.1.1 dport = 1234
where the ip and port can be adjusted.
To test the behavior of a web socket client writter in elixir, I was wondering how to force close a socket.
The solution is quite simple and reside in the ss
command:
sudo ss -K dst 1.1.1.1 dport = 1234
where the ip and port can be adjusted.