Wondering if there is any quick way to simulate some network problems on local server? I am testing my socket.io program serving by localhost:8080, and want to know how it goes when network crashes?
Any suggestion will be appreciated. Thanks.
Wondering if there is any quick way to simulate some network problems on local server? I am testing my socket.io program serving by localhost:8080, and want to know how it goes when network crashes?
Any suggestion will be appreciated. Thanks.
I have one suggestion when you only can use one computer: use a software component inbetween. This could be a proxy like membrane which you simply stop while your program is running which basically interrupts the connection.
All other scenarios I can think of need at least another computer or a virtual machine or software defined network.