logo       

Re: success: sockets on nokia 3650 (symbian): msg#00178

java.sun.kvm

Subject: Re: success: sockets on nokia 3650 (symbian)

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



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

News | FAQ | advertise