Re: [HAPI-devel] Timeout on sendAndreceive

2008-01-28 Thread [EMAIL PROTECTED]
Lucas I posted the same problem recently and it turned out that the ACK i was putting together was not right. The best thing you can do is log some out statements and pinpoint how far it gets and if the messages are right. I recommend trying to use the AcceptApplication as your handler. This

Re: [HAPI-devel] :-(( Re: Timeout on sendAndreceive

2008-01-28 Thread VIOT Yves
Re... I don't exactly thinking of a split between client and server 'cause it is a "normal" situation. No reference to ConnectionHub should be found in the server. I was thinking about a splitting in the client between sending and receiving. Could you post the message and what Wireshark or oth

Re: [HAPI-devel] Timeout on sendAndreceive

2008-01-28 Thread Lucas Gonz
Hello and thanks for beeing so quick! I think my problem might be related to what you say at the end, "connectionHub shared??" I am gonna post a little bit of the code that I have for the client: . ConnectionHub connectionHub = ConnectionHub.ge

Re: [HAPI-devel] Timeout on sendAndreceive

2008-01-28 Thread VIOT Yves
Hi Lucas, As i said this doesn't seem to be a real timeout. This is a timeout for waiting an ACK with a corresponding message ID. The ACK field MSA-2 must match this ID you sent in your message into the MSH-10. First of all, put a sniffer like "Wireshark". Take a look at messages between client

Re: [HAPI-devel] Timeout on sendAndreceive

2008-01-28 Thread Lucas Gonz
Hello! Thanks for the help, but it doesn't work yet. The default timeout is 10 seconds no? I think it should be time enough in order to receive an answer, anyway I changed it to 30 as you suggested and it doesn't work neither, I have tried both scenario, running client and server in different PC's