Sign in to follow this  
Followers 0
Descention

TCP two-way communication

2 posts in this topic

I have done a few searches and have not found any information on this yet, and the help file isn't helping me on this problem so i'll ask.

Is it possible to send and recieve through the same socket connection? From what I understand, you have a server and client, server listens until a client connects. Server then waits for any messages, client sends one, server is happy and jumps for joy... but i also want the server to send informaion back to the client. I would like if i could do this without opening another connection, but my ways of doing this so far have not worked. Maybe I do need a second connection temporarily...

Anyone able to help, many thanks to you.

Share this post


Link to post
Share on other sites



Nevermind, I found i had an accidental clearing of the $connectionSocket... it works now.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0