Groups > IBM > WebSphere Studio Device Developer > Re: palm weme 5.7.2 NetLibSocketConnect time out




Re: palm weme 5.7.2 NetLibSocketConnect time out

Re: palm weme 5.7.2 NetLibSocketConnect time out
Mon, 12 Nov 2007 10:19:13 -030
I have no luck with an answer yet... Andrew?

thanks

"Federico Fromer" <firstname.lastname@movilogic.com> wrote in
message 
news:fgaq94$28g0g$1@news.boulder.ibm.com...
> Hello, I downloaded the new weme 5.7.2 released by palm source.
>
> the release notes file included in the distribution has this change 
> history section:
>
> - IBM added NetLibSocketConnect time out.
> - IBM now handles overriding Displayable.getTitle.
> - Fixed alt key producing '?' on Treo 680 and 700.
> - Fixed virtual keys, home, etc., now quit Java app.
> - Fixed CustomItem.keyReleased and keyRepeated.
>
>
> I'm particularly interested in the first improvement: "IBM added 
> NetLibSocketConnect time out". What exactly does it means? I'm having

> problems detecting timeout in my http connections so this new feature may 
> be helpful
>
> thank you!
> Federico
> 

Post Reply
Re: palm weme 5.7.2 NetLibSocketConnect time out
Wed, 28 Nov 2007 16:25:24 -070
Federico Fromer wrote:
> I have no luck with an answer yet... Andrew?
> 
> "Federico Fromer" <firstname.lastname@movilogic.com> wrote
in message 
> news:fgaq94$28g0g$1@news.boulder.ibm.com...
>> Hello, I downloaded the new weme 5.7.2 released by palm source.
>>
>> the release notes file included in the distribution has this change 
>> history section:
>>
>> - IBM added NetLibSocketConnect time out.

Believe it or not, I actually remembered what this was. Originally, if 
you opened a socket to a nonexistent address, the device would freeze 
and never time out. The fix was to set the socket primitives call to 
NetLibSocketConnect with a timeout after 10 seconds, rather than never 
timing out.

	Andrew Jr.

======================================================================
IBM Phoenix Labs (OTI)
2929 North Central Avenue
Post Reply
about | contact