At Tue, 08 Nov 2005 16:57:05 +0900,
Daishi Kato wrote:
> > > b) http.egg (http-client.scm)
> > > ntohs() and getservbyname() are not supported on win32. (True?)
> > > I just let (getservbyname) return 0.
> > > But, there could be better error reporting.
> > 
> > According to MSDN, both functions should be available and are
> > declared in winsock2.h.
> 
> Oops, sorry. I'll double-check.
> But, it is true that I got a compilation error,
> complaining something like ntohs and getservbyname are missing...

It was unresolved symbol, my mistake.
By adding ws2_32.lib to link command, the error disappears.
But, I do not know how to write http.setup accordingly.

Daishi


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to