> Ok so who has 1003.1g connections ?
>
> Alan
If linux has the behaviour it is the only stack that I am aware
of the behaves this way. The rest return -1 through to the
buffer size.
DU -1..sizeof(buf)
BSD 4.2 -1..sizeof(buf)
BSD 4.3 -1..sizeof(buf)
Solaris 1 -1..sizeof(buf)
Solaris 2 -1..sizeof(buf)
IRIX 6.3 -1..sizeof(buf)
Mind you I personally like the modified behaviour but it does
break existing code. Having to pass a buffer one octet larger
than you want to receive to detect overflow is a pain.
Mark
-- Mark Andrews, CSIRO Mathematical and Information Sciences Locked Bag 17, North Ryde, NSW 1670, Australia. PHONE: +61 2 9325 3148 INTERNET: Mark.Andrews@cmis.csiro.au MOBIL: +61 41 442 9884 UUCP:....!uunet!cmis.csiro.au!mark.andrews
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html