TCP Question
Blitz3D Forums/Blitz3D Programming/TCP Question
| ||
I am new to TCP but have been programming in B3D for quite awhile. I have a question. I know how to create a TCP Server and then have a client send information to the server, but how do I send information from the server back to the client? Thank you so much. |
| ||
Use an echo Server..., but that would only repeat the info that the client sent in the first instance. |
| ||
Robert, I would suggest you to take a look in the code archive, section Networking. There you find useful examples that may answer your questions. If you fancy, take a look at my TCP Internet chat program, it contains both server and client code, and it's full documented. You find it here: http://www.blitzbasic.com/codearcs/codearcs.php?code=28 Have fun, Sergio. |
| ||
Now I understand how TCP works. I did not comprehend how the server could recognize the stream the client created, but now, thanks to you, I do. Thank you for your time. |