Link Errors with Net Functions

dahms@ifk20.mach.uni-karlsruhe.de dahms@ifk20.mach.uni-karlsruhe.de
Mon Mar 17 14:51:00 GMT 1997


Hi, you wrote:

: Michael Godfrey wrote:
: > I'm having trouble linking with the htons(), htonl(), ntohs(), and
: > ntohl() host to/from network byte order functions.
: 
: Did You include <arpa/inet.h>?

Last time I looked, this was not enough, because the byteorder include
file only worked if compiling -O, since then these were inlined, but there
were no regular definitions to link with.


Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de)
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list