vinoth sathyamoorthy

Greenhorn
+ Follow
since Mar 20, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by vinoth sathyamoorthy


sorry, that two port numbers(1999 and 2999) are serversocket(1999) and serversocket(2999) listening on the port numbers.

how to check which client socket is coming in server side. if more than one client socket are coming how to handle?

how to test these condition using if or any other?

what methods are available.

Thanks.
Vinoth
Hi friends,



iam writing a simple client server.in my program i use two client and one server.

in client1 i used port as 1999, and i want to send name and one id number.
in client2 i used port number as 2999,and i want to send phone number and address.

in server side ServerSocket obj=new ServerSocket(3999);
ServerSocket obj=new ServerSocket(4999);
above coding cause no output.

how can serversocket used when two different client are coming?
which test condition to use handle?

please help me.