This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Link Errors with Net Functions


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]