Hi Joshua and all,

I'm going to test changes to the prserv server, to implement "passthrough" to another server.

I can make tests by checking the impact of my changes on the build results, like checking the revision of generated packages. However, would there be an easy way to make a test connection to a server based on the bb.asyncrpc.AsyncServer class, such as hashserv or prserv?

Feeling lucky, I tried with a plain "telnet":

telnet 0.0.0.0 8585
Trying 0.0.0.0...
Connected to 0.0.0.0.
Escape character is '^]'.
get-pr ethtool-6.7-r0
Connection closed by foreign host.

The request doesn't look that bad, as the server doesn't complain (in the logs) but I don't get the return value.

So, any tip for talking to a server from a terminal, or do I need a proper client written in Python?
Cheers
Michael.



--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#196464): 
https://lists.openembedded.org/g/openembedded-core/message/196464
Mute This Topic: https://lists.openembedded.org/mt/104671208/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to