Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Socket programming using J2ME  RSS feed

 
Rex Lee
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can J2ME support socket programming? I want to implement a client/server model using Java enabled phone.
 
Eric Giguere
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do client sockets with the CLDC reference implementation, but actual implementations are not required to support sockets, so it's an iffy proposition. HTTP is really the only thing you can count on for now, so you may want to use HTTP tunneling.
Eric
 
Always! Wait. Never. Shut up. Look at this tiny ad.
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!