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.
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.
Bookmarks