[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: select/accept DECnet connection question ...
> I suspect that you are not setting len to sizeof(optdata) before calling
> getsockopt(), len is value/result in my implementation... I don't know
> if thats correct, without consulting the POSIX spec, but thats how it is
> at the moment,
Well spotted ! ... a trick question to see if you were concentrating !
;-)
... I *had* set 'len' before the call, however a cut/paste error caused
it
to be set to 'sizeof(sockaddr)' ...
... works now ... thanks.
Rob.