psynegy Posted February 8, 2008 Posted February 8, 2008 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...
erezlevi Posted February 8, 2008 Posted February 8, 2008 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.
psynegy Posted February 8, 2008 Author Posted February 8, 2008 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
psynegy Posted February 10, 2008 Author Posted February 10, 2008 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...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now