A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
Ping & DNS, my free Android app for network diagnostics
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
Why I lost points in locking, pls comment on my code
Could you pls resolve this
My Locking Strategy...
Pls anyone answer this, its urgent
locking and unlocking mechanism
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013