richs
richs

Reputation: 4769

tcp disconnect creation on windows and linux

I am running a window/linux java application which connects to a server for market information. I'm trying to test our re-connect logic and don't have access to bouncing the server. Is there a way on windows and linux to kill or interrupt a socket?

Upvotes: 0

Views: 246

Answers (1)

Adamski
Adamski

Reputation: 54695

Try unplugging your network cable :-)

Upvotes: 2

Related Questions