Comment on Tutorial - TCP Server and TCP Client in Java By Ashish Myles



Comment Added by : Brian

Comment Added at : 2013-04-11 09:07:33

Comment on Tutorial : TCP Server and TCP Client in Java By Ashish Myles
Hello, this is a very good post. I'm a newbee in Java in general, so pardon my question if it sounds a bit foolish. As I understand the Server code has to infinitely run and keep on listening to requests from the client. So where in a typical java app can I place this server coding class so that it can keep on listening? I'm using glassfish as my app server. Thank you in advance.

View Tutorial



Ask a Question

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. we are java research students.
we are worki

View Tutorial          By: chetan at 2007-10-17 08:13:14

2. Thanks
View Tutorial          By: Bad Programmer at 2011-11-23 10:43:49

3. Thanks for the example taken directly from the Jav
View Tutorial          By: Lewis Chase at 2013-09-24 23:39:21

4. Hi sir,
please send some sample code for sp

View Tutorial          By: Kruttika at 2015-07-07 05:14:14

5. ya its correct but tell me where is main method???
View Tutorial          By: kashiNATH MOKASHI at 2011-08-20 05:33:19

6. HI, like some guys in this tutorial I get this pro
View Tutorial          By: omar carpio at 2009-09-06 13:17:37

7. I am in search of the institute to appear for the
View Tutorial          By: Rahul at 2012-07-02 11:18:18

8. Thanks a lot lot lot for this, but when I run the
View Tutorial          By: Kedjimo at 2011-10-06 06:13:10

9. Hello, I have executed the above code and it works
View Tutorial          By: Sana at 2010-02-01 03:49:44

10. thanks for your tutorial, but how to us it?

View Tutorial          By: Desman Gea at 2014-07-18 16:54:41