-
January 31st, 2011, 12:00 PM
#1
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.
-
January 31st, 2011, 11:22 PM
#2
Re: How to kill TCP connection???
Have you tried closing the socket?
-
February 1st, 2011, 06:48 PM
#3
Re: How to kill TCP connection???
A few suggestions:
- Use code tags.
- Speak English.
-
February 2nd, 2011, 02:02 AM
#4
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.
-
February 2nd, 2011, 02:24 AM
#5
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|