Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Fixing a problem in a translator

0 views
Skip to first unread message

Graham Lee

unread,
Jan 23, 2018, 2:00:32 PM1/23/18
to help...@gnu.org
Hi all,

I'm trying to understand the Hurd by writing my first translator, and got a bit stuck. I'd appreciate some help. My source is here: https://github.com/iamleeg/machoo

What I'm trying to achieve is that the out parameter of the message_send operation is a port on which the client can send the same message, to get the ball rolling I'm trying to get it to return itself (so if the client sends a message to the returned port, it is messaging the same server).

The current behaviour is that the server starts up correctly when registered with settrans, and the client connects and sends the message. The message is correctly handled by the demuxer, and my handler routine is called. However the return value on the client side is -300, MIG_TYPE_ERROR. What have I done wrong, here?

Thanks for your help,

Graham.
0 new messages