How can I configure the PalmOS Emulator so that I can open a socket from my J2ME application to a server application running on the host workstation?
Location: http://www.jguru.com/faq/view.jsp?EID=208037 Created: Sep 16, 2000 Modified: 2000-09-16 21:39:01.107 Author: Bill Day (http://www.jguru.com/guru/viewbio.jsp?EID=135825) Your J2ME application uses CLDC-based TCP client sockets via the KVM, which uses the underlying PalmOS networking library, “NetLib”. NetLib in turn uses the host workstation’s TCP stack. There has been a discussion thread on Sun’s kvm-interest mailing list about enabling NetLib on POSE. The short of it is that you need to redirect POSE’s NetLib calls to your host TCP stack. You do this by right clicking in a POSE session, then selecting “Properties…” and checking the “Redirect NetLib calls to host TCP/IP” box in the pop-up dialog. This is discussed in several related kvm-interest threads on using POSE with NetLib.
Related Questions
- I am using a PC host running Microsoft Windows for a commercial or industrial application. Should I use a ShortStack Micro Server to attach the PC to a LonWorks network?
- How can I configure the PalmOS Emulator so that I can open a socket from my J2ME application to a server application running on the host workstation?
- I am using a PC host running Microsoft Windows for a home application. Should I use a ShortStack Micro Server to attach the PC to a LonWorks network?