Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2ME Socket to J2SE Socket

 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys

I am doing an application on a Mobile phone which is going to talk to a J2SE application acting as an server Using Socket Connection.....

I am having a problem that My mobile phone application can not write to the Server but it can receive data from the server......

The server is using bufferReader and got the Mobile App i am using a InputStream ..... is there other way for them to talk to each other...

thanks in advance guy thanks got your time.

regards
KKH
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For starters, you'll need an output stream to talk to the server. (Input streams can only read.) It's not hard to do, but it would explain why you can read and not write.
 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Theodore Casser,

Thanks for the reply i have slove the problem alr thanks for yr help

regards
KKH
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic