| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Feb 7, 2007, at 12:49 PM, Jonas Maebe wrote:
setsockopt(sock, SOL_SOCKET, SO_RCVBUF, (void*)32768, sizeof(int));
Shouldn't you pass the address of a variable containing the buffer size rather than the actual value? Have you tried checking the return value of that call?
It's still a bug of course if behaviour randomly changes depending on which erroneous parameter you pass (maybe the kernel doesn't deal gracefully with a wrong parameter there and uses an uninitialised value in case it's invalid).
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.