4

I would like to test the logging that happens in our app (an embedded ftp server) when a 'connection reset by peer' error occurs. This post explains the source of the error pretty well, but doesn't really explain how to cause one. Does anybody know a way to trigger this error for a TCP connection?

Community
  • 1
  • 1
Edward Dale
  • 29,597
  • 13
  • 90
  • 129

1 Answers1

3

tcpkill seems to do the job well.

Edward Dale
  • 29,597
  • 13
  • 90
  • 129