When I echo “some string” >my_resource_manager, is it normal that I
receive the same message twice ?
echo is unblocked at the second reply (second return of my io_write()).
Alain.
When I echo “some string” >my_resource_manager, is it normal that I
receive the same message twice ?
echo is unblocked at the second reply (second return of my io_write()).
Alain.
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
When I echo “some string” >my_resource_manager, is it normal that I
receive the same message twice ?
echo is unblocked at the second reply (second return of my io_write()).
I’m guessing that things are working a little better now?
Do you mean that you receive the same message twice in
the resource manager (ie two io_write calls?) or you
see the output twice from the terminal. What is likely
happening is that you are not filling in the number of
bytes written properly … but that is just a wild guess
without more information.
Thomas
Thomas Fletcher a écrit :
Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:
When I echo “some string” >my_resource_manager, is it normal that I
receive the same message twice ?
echo is unblocked at the second reply (second return of my io_write()).I’m guessing that things are working a little better now?
Do you mean that you receive the same message twice in
the resource manager (ie two io_write calls?) or you
see the output twice from the terminal. What is likely
happening is that you are not filling in the number of
bytes written properly … but that is just a wild guess
without more information.Thomas
It seems that both problems came from an incorrect reply to my client.
About this problem specifically, the nbytes value was not good.
Thanks,
Alain.