Hmmm.
So you CAN use Sockets on Nokia's but they are unsupported and you must use
2 sockets (one to read and one to write).
You worried me when you said synchronous though. Is the networking
asynchronous? In other words can it read or write at the same time as the
application is running? If the networking is synchronous then the
application will stop when data is read or written from the network even if
seperate threads are used (its an OS issue). Thats not good at all.
The Nokia 7650 and 3650 are both Symbian 6.1. We have now moved onto Symbian
7.0 phones of which the Nokia 6600 is one. Do we think this is a Symbian 6.1
issue though or a Nokia Java issue?
I would be very interested in any more information on Socket implementations
for J2ME, especially those on Nokia handsets.
Finally what kind of PING times are you guys getting on your GPRS networks?
I hear Voda's is quite fast.
Peter
From: Claus Klammer <klammer@xxxxxxxxx>
Reply-To: A mailing list for KVM discussion <KVM-INTEREST@xxxxxxxxxxxx>
To: KVM-INTEREST@xxxxxxxxxxxx
Subject: Re: success: sockets on nokia 3650 (symbian)
Date: Tue, 23 Sep 2003 07:18:31 +0200
We've got the same problem on the 7650. But we managed to support
asynchronous behaviour by simply use two connections (one for reading the
other for writing) ;-)! (But note: TCP-Socket-Connections are not supported
by Nokia!)
I did a lot of research in networking capabilities of mobile phones
(especially Nokia phones). Maybe I can give you some tips also I don't know
the new MIDP2.0 phones.
Claus
----- Original Message -----
From: "Michael Powers" <michael@xxxxxxxxxxx>
To: <KVM-INTEREST@xxxxxxxxxxxx>
Sent: Monday, September 22, 2003 5:23 PM
Subject: success: sockets on nokia 3650 (symbian)
> Hi all,
>
> Having just got a Nokia 3650, I was puzzled that while the connector
> return a connection object for a "socket" url, even though it didn't
> seem to work. If it wasn't implemented, why didn't it just throw an
> exception?
>
> I didn't find anything about this in my research, so maybe this will
> come as news to you:
>
> Turns out that it's a *half-duplex* socket. Reading or writing blocks
> both until the operation completes. If you have an asynchronous
> application, you're still out of luck, but if you can get by with a
> synchronous protocol, you can get your app to work. (Also be sure to
> flush properly on both ends, or you'll get hung. Pardon my colorful
> language.)
>
> I'm not currently sure if this impacts all Symbian-based environments
> (like the Sony-E P800), but suspect they all share the same KVM
> implementation. Perhaps someone can verify this. Also unclear is
> whether this affects the Nokia MIDP 2.0 device, which is Symbian based.
>
> - Michael
>
>
===========================================================================
> To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the
body
> of the message "signoff KVM-INTEREST". For general help, send email to
> listserv@xxxxxxxxxxxx and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@xxxxxxxxxxxx and include in the body of the message "help".
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
===========================================================================
To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@xxxxxxxxxxxx and include in the body of the message "help".