What are you connecting to that won't fail? Network? Mail server? Database? Remoting? HTTP?
What protocols? TCP/IP? UPD?
I would imagine that setting up a test case that points to a non-existent end-point would satisfy the need to test a failed connection.
-Peter
compiledthoughts.com