[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No Subject



My test results show the connection to the server over the internet to work
fine; however, there's significant latency when establishing the socket
connection with a local server: 

mysocket = new Socket(address, portnum)); // delay occurs here

The problem seems to be related to reverse DNS lookup. But I'm not sure and
it does not occur with a desktop PC. Because we are somewhat able to
workaround the problem by assigning an IP address for the local server and
add its address mapping to our DNS server, which requires the wireless
access point (Linksys) to be connected to the internet. With this
configuration, the iPAQ can then access the local server without delay.
However, the solution we're targeting is the ability for the PocketPC java
applet to open a socket to a local server without connection to the
internet. 

Would appreciate any hints or insights to this problem.

Thanks,




  _____  

Do You Yahoo!?
Yahoo! Games <http://rd.yahoo.com/welcome/*http://games.yahoo.com>  - play
chess, backgammon, pool and more


------_=_NextPart_001_01C1EB9E.675728D0
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=174084314-24042002><FONT face=Arial color=#0000ff size=2>Try 
the loop back IP 127.0.0.1.</FONT></SPAN></DIV>
<DIV><SPAN class=174084314-24042002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=174084314-24042002><FONT face=Arial color=#0000ff 
size=2>Nicholas Frank</FONT></SPAN></DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Lien 
  [mailto:lsuandy@yahoo.com]<BR><B>Sent:</B> Wednesday, April 24, 2002 10:32 
  AM<BR><B>To:</B> ajug-members@www.ajug.org<BR><B>Subject:</B> Unidentified 
  subject!<BR><BR></FONT></DIV><FONT size=2>
  <P>Hi, everyone. </P>
  <P>Wondering if anyone has any experience in working with opening sockets on a 
  PocketPC (iPAQ). </P>
  <P>Here, I have an applet that I'd like to serve to a Pocket Internet Explorer 
  browser. This is possible with a plug-in called Jeode (fully compatible with 
  the PersonalJava specification), which enables the browser to run java applets 
  on a PocketPC.</P>
  <P>From the applet, I'd like to either establish a socket connection with an 
  internet server or with a server on a local network using wireless 
  networking.</P>
  <P>My test results show the connection to the server over the internet to work 
  fine; however, there's significant latency when establishing the socket 
  connection with a local server: </P>
  <P>mysocket = new Socket(address, portnum)); // delay occurs here</P>
  <P>The problem seems to be related to reverse DNS lookup. But I'm not sure and 
  it does not occur with a desktop PC. Because we are somewhat able to 
  workaround the problem by assigning an IP address for the local server and add 
  its address mapping to our DNS server, which requires the wireless access 
  point (Linksys) to be connected to the internet. With this configuration, the 
  iPAQ can then access the local server without delay. However, the solution 
  we're targeting is the ability for the PocketPC java applet to open a socket 
  to a local server without connection to the internet. </P>
  <P>Would appreciate any hints or insights to this problem.</P>
  <P>Thanks,</P></FONT>
  <P><BR>
  <HR SIZE=1>
  <B>Do You Yahoo!?</B><BR><A 
  href="http://rd.yahoo.com/welcome/*http://games.yahoo.com";>Yahoo! Games</A> - 
  play chess, backgammon, pool and more</BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C1EB9E.675728D0--

------=_NextPartTM-000-fd59c221-0717-4a18-a285-a8f43bb09f55--