Subject: sendto: Invalid argument - help!
To: None <>
From: Hubert Feyrer <>
List: tech-net
Date: 01/03/1999 17:30:34

I'm about to get nmap working on NetBSD (1.3I), and while it works fine on
sparc, I get runtime errors on i386:

trying sendto(4, packet, 28, 0,, 16)sendto in send_ip_raw:
sendto(4, packet, 28, 0,, 16) => Invalid argument

There seems to be an endianness problem somewhere, but I really don't have
a clue on all this - any help appreciated. The package is available at 

[nmap is a network/port scanner with a wide variety of possible scanning
methods, OS detection, etc. - quite nifty :]

 - Hubert

Hubert Feyrer <>