[python-tulip] Re: help deal with aiomas rpc

2018-02-20 Thread velopokatun
Many thanks for the answer. I read the documentation several times, But I did not understand how to compose the header of the package. As a result, I figured out that the last byte is the length of the package. Everything worked

[python-tulip] Re: help deal with aiomas rpc

2018-02-20 Thread velopokatun
Many thanks for the answer, and for the work.)

[python-tulip] help deal with aiomas rpc

2018-02-19 Thread velopokatun
good afternoon. I can not understand how to call the rpc method via the pure tcp This simple server: import aiomas class Server: router = aiomas.rpc.Service() @aiomas.expose def ping(self, i): print('Ping receive data: {}'.format(i)) return i if __name__ ==