• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Listening Sockets on MIDP/CLDC

 
razarizvi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is there a way to listen on a port on Palm (Emulator) to get a string from a PC using sockets connection. Please help.
We used this below but it gave ioexception.
StreamConnection s = (StreamConnection)Connector.open("socket://localhost:7777");
Thanks
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"razarizvi",
PROPER NAMES ARE NOW REQUIRED
Please look carefully at official naming policy at javaranch & reregister yourself with proper first & last name, with a space between them. Please adhere to official naming policy & help maintain the decorum of the forum. The naming policy can be found at http://www.javaranch.com/name.jsp
Topics posted by people with invalid names will be closed. Please register with a new name and repost your topic.

--Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic