Andy Hilker wrote:
Hi,
i try porting a little utility from linux to freebsd.
Maybe someone could give me a hint, what i am doing wrong.
-- snip --
/* Note: not portable */
// if ((s = socket(AF_INET, SOCK_PACKET, SOCK_PACKET)) < 0) {
// ??? ported
if ((s = socket(AF_INET,SOCK_RAW,IPP
Hi,
i try porting a little utility from linux to freebsd.
Maybe someone could give me a hint, what i am doing wrong.
-- snip --
/* Note: not portable */
// if ((s = socket(AF_INET, SOCK_PACKET, SOCK_PACKET)) < 0) {
// ??? ported
if ((s = socket(AF_INET,SOCK_RAW,IPPROTO_RAW)) < 0
2 matches
Mail list logo