Sign in to follow this  
Followers 0
psynegy

TCP Session reply

4 posts in this topic

Is it possible, once a TCP session has been opened so the server is receiving data and then get's no more, is it possible to then reply to the client in the same session..?

I'd be grateful for example code if anyone can provide it, I've been trying for weeks and can't figure out a way...

Share this post


Link to post
Share on other sites



Is it possible, once a TCP session has been opened so the server is receiving data and then get's no more, is it possible to then reply to the client in the same session..?

I'd be grateful for example code if anyone can provide it, I've been trying for weeks and can't figure out a way...

can you expalin yourself in more detail? I don't understand what you are trying to achive.

Share this post


Link to post
Share on other sites

Basically take a web server for example, the browser sends the TCP request to the server and then the server sends a response back, that's what I want to achieve.

So client initiates the connection > server receives > server responds > client receives response > session closes

Thanks :)

Share this post


Link to post
Share on other sites

Don't worry, I've finally worked it out and managed to make what is effectively an HTTP server, wohoo!

I'll be posting it in the examples bit soon enough... :)

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