Original Post
Hi,
What I would like to have is a client sending data to a server now and then on the client''s initiative. This part I understand, but I also need to have the server to be able to send data to the client whenever the server wants to. Would I need to open two socket connections for this to work?
I''ve tried to set up a sort of request/response system, but then the server would have to wait for the client to send first. I need to be able to send both ways whenever I want to.
Btw, I''m programming this in Java.
Thanks.