logo       

success: sockets on nokia 3650 (symbian): msg#00174

java.sun.kvm

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".



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise