Take a look at this as a good starting point.
There are also a lot of examples if you use a search engine.
To "crash" your server, just stop the server application or close the socket.
Stevoni
Junior Poster in Training
75 posts since Jul 2009
Reputation Points: 28
Solved Threads: 13