Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - setSockOpt/getSockOpt boundary case not working: (5 Items)
   
setSockOpt/getSockOpt boundary case not working  
QNX
$ uname -a
QNX qnx66-x86 6.6.0 2014/02/22-18:29:37EST x86pc x86
$ 


Attached server.c is the sample program. 


setSockOpt SO_LINGER was set with Linger value -65535 

getSockOpt returns success but when i print out the value, it says -1. 

Please fix this behavior.. The same code i tested on linux with gcc (attached the binary) and it works fine..




Attachment: Text test_qnx 18.34 KB Text server.c 5.12 KB Text test_linux 13.62 KB
Re: setSockOpt/getSockOpt boundary case not working  
A gentle reminder on this issue..
Re: setSockOpt/getSockOpt boundary case not working  
Fixed internally.

On Tue, Sep 22, 2015 at 09:16:35AM -0400, Stefan Holzmüller wrote:
> A gentle reminder on this issue..
> 
> 
> 
> _______________________________________________
> 
> OSTech
> http://community.qnx.com/sf/go/post114488
> To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com
Re: setSockOpt/getSockOpt boundary case not working  
Thanks much .. So, do you know when and how(is it sent as a patch to qnx6.5,qnx6.6 or so)  we can have this fix? 
Re: setSockOpt/getSockOpt boundary case not working  
Hi Stefan,

You can follow up with your support contact to get an updated io-pkt PSP.


Mark