delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/17/18:02:40

From: dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Subject: RE: Link Errors with Net Functions
17 Mar 1997 18:02:40 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <009B16B6.C54A6E00.12384.cygnus.gnu-win32@ifk20.mach.uni-karlsruhe.de>
Original-To: sos AT prospect DOT com DOT ru
Original-CC: gnu-win32 AT cygnus DOT com, dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 AT ifk20 DOT mach DOT uni-karlsruhe DOT de)
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019