Stas Sergeev <stsp@aknet.ru> wrote: > > Unless I am really missing something, there > seem to be no reason why the SOCK_PACKET code > does not allow to use write() or send() when > the socket was bound, and insists on using > sendto(). SOCK_RAW code, in comparison, allows > write() after bind(). It is counter-intuitive to allow write after bind(). AFAIK RAW only allows write after connect(), not bind(). Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html