Skip to contentSkip to conversation

Suspected bug in getpeername and getsockname

BUG Balbir Singh 1 participant 1 message Jan 18, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines

Can the user eat up more than a scheduling quantum because of the work done by ->getname()? I certainly don't think you can prove this.

That depends on what ->getname() does. Anyway in my opinion any code which does all the processing and then catches any error is BROKEN.

Quoted 3 lines

It certainly isn't work the long discussion we're having about it, that is for sure.

I agree! no point

Quoted 7 lines

You want this to make your broken getname() protocol semantics work and I'd like you to address that instead. I get the feeling that you've designed this weird behavior and that it is not specified in any standard anyways that your protocol must behave in this way. I suggest you change it to work without the user length being available.

There is no other choice but to live with it.

Regards,
Balbir

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx