well,
a shutdown(conn, 1) between the send and the recv was the solution :)
2006/2/17, Asif Iqbal <iqbala-hobbit at qwestip.net>:
On Fri, Feb 17, 2006 at 05:51:09PM, Etienne Grignon wrote:
Henrik,
I'm having problems to implement query message.
I'm sending the message bellow to the socket :
query myserver.cpu
bb hobbitserverip "query server.fqdn.com.cpu"
Then, on the recv call, I get nothing. Then, the socket seems to be
closed
after somes seconds.
Is it the right syntax ? or is there a way to find what's going on on the server at this moment ?
It is done against hobbit 4.1.1
Thank you for your help,
Etienne
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Etienne GRIGNON