Looking for "hung socket simulator" for testing socket timeouts

Viewed 3240

I am testing handling for socket timeout conditions - for example, connection timeout, connect but no accept, accept but won't read, etc.

I'm looking for a program/script that will act as a server socket producing these effects.

This "hung socket simulator" needs to run on Mac OS (or Linux).

3 Answers
Related