File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Listening Sockets on MIDP/CLDC Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Reply Bookmark "Listening Sockets on MIDP/CLDC" Watch "Listening Sockets on MIDP/CLDC" New topic
Author

Listening Sockets on MIDP/CLDC

razarizvi
Greenhorn

Joined: Oct 26, 2001
Posts: 2
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

Joined: Dec 04, 2000
Posts: 6035
"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
 
 
subject: Listening Sockets on MIDP/CLDC
 
Threads others viewed
File Upload
serial port communication
Documentation
J2ME Network
Server help?
IntelliJ Java IDE