PDA

View Full Version : Java Server not responding immed to a TCP write!!


compuser1978
03-25-2002, 08:57 PM
When I issue a ISOCKET_Write(), my Java server does not seem to respond(It understands that there is a request). However it does not read the data sent from BREW till I close the BREW Socket appl'n.
If I just read data from the server, it works fine. the problem is when I send data from BREW -> Java Server.

Thanks again

compuser1978
03-26-2002, 08:50 AM
I think that is because that the BREW Env is not flushing the data immed.
Can anyone tell me what is the 'flush' method used in BREW??

devi
03-26-2002, 11:50 AM
Please refer to http://www.qualcomm.com/brew/developer/support/faq/techfaq7.html#T7D


Devi Krishnan
BREW Support

compuser1978
03-27-2002, 12:37 PM
Thanks,
I got it sorted. It required a '\n' char to do the job.

Thanks again.