I have written a small middleware application in Symbian C++ that relays communication bwteen a java app on phone and another java app on PC. On phone, java app and Symbian app comm over sockets. My problem is that I can't get java app to receive anything from the socket to which the symbian app is writing. Following is a graphical rep. of the problem -
Java App (PC) Symbian App (phone) Java App(phone)
I can't get the ------------> direction working between Symbian app and java app on phone.
I think the problem is that a write doesn't go through till buffers fill up. But I didn't find any flush method for RSocket class. I tried to set the TCP option to No Delay by SetOpt, but the app started crashing on my Nokia 3650.
Any suggestions! I know the data is receiving till symbian app since I printed it on console.