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. i have run the code successfully but it does not s
View Tutorial          By: amrish at 2010-12-11 07:00:28

2. very nicely explained,
thank you

View Tutorial          By: Amin at 2010-04-14 09:40:30

3. int n = 0;
for (int m = 0; m < 5; m++) {

View Tutorial          By: max at 2011-05-26 09:41:26

4. sorry i think that's a constructor...just had one
View Tutorial          By: Gautam at 2013-10-14 15:55:14

5. Hai everyone,I am getting error like *** time out
View Tutorial          By: Prasad at 2011-08-30 06:28:44

6. This is a great tutorial. I have a slight problem,
View Tutorial          By: Vix at 2010-11-22 13:42:03

7. its really helpfull to understand.
View Tutorial          By: rakhi at 2010-08-08 12:45:05

8. how to download suport to my phone
send me

View Tutorial          By: dede.mouljadie at 2012-04-28 09:39:21

9. Only first row is exported, help to export all the
View Tutorial          By: Achyut at 2014-12-18 04:26:26

10. how to import myownclass into another class same p
View Tutorial          By: rana at 2013-04-19 17:32:08