A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Badass: Making Users Awesome
this week in the
Sockets and Internet Protocols
Joined: Aug 17, 2007
Aug 20, 2007 00:33:00
I have a doubt in
I have two clients, Lets say ClientA, ClientB and a
program(port opened ex :port no.4545
My Question is
Can ClientB only sends message to Server?
Can ClientA only receive message from Server?
Now Server has to do the following
1. Receive message from ClientA (behind some process
2. Send that processed message to ClientB.
Joined: Mar 22, 2005
Aug 20, 2007 01:47:00
Welcome to JavaRanch.
Socket communication is generally two-way communication. As long as a client is connected to the server, both sides can send and receive. Furthermore, if the server is properly multi-threaded, then both clients A and B can do so at the same time.
I agree. Here's the link:
My Locking Strategy...
locking and unlocking mechanism
Could you pls resolve this
Pls anyone answer this, its urgent
Why I lost points in locking, pls comment on my code
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015