Open JKamsker opened 7 years ago
Hi,
Sure, it's possible. See my article: https://www.codeproject.com/Articles/153938/TCP-Server-Client-Communication-Usage#chatclient
In this chat example, server calls client's methods whenever needed. Any method can have a return value.
Oh, thank you, didn't see that. Looks very difficult, I'll have a look at it :D
Is there any console-only example? Its really hard to understand and i barely make any process :(
It's not complicated actually. There are some console samples, but may not be exactly like what you want. You can start from this sample for example: https://github.com/hikalkan/scs/tree/master/samples/SimpleCalculatorSystem
Hey Is it possible to invoke an mehtod on the client side and return the results to the server? That would save me a whole of a lot of work :) Are there any examples for this? Thanks in advance!