How to kill TCP connection???
I have written a server-client program, I can successfully establish TCP connection between serve7r & client using sockets. Now, I have some functionality where server gets a data item from client & does a comparison. I want to break the TCP connection if the 2 data items being compared don't match. M writing in java but I dunno how 2 include tis functionality.
Re: How to kill TCP connection???
Have you tried closing the socket?
Re: How to kill TCP connection???
A few suggestions:
- Use code tags.
- Speak English.
Re: How to kill TCP connection???
Post the full error message so we can see what the problem is and read the "Before you Post" thread to see how to use code tags or read the text in blue at the bottom of this post which shows you.
Re: How to kill TCP connection???
Do not reply to this thread. See this thread instead:
http://www.codeguru.com/forum/showthread.php?t=508255