[En-Nut-Discussion] Newbie question: TCP Client

Pavel Chromy chromy at asix.cz
Sun Oct 30 19:48:12 CET 2005


Przemyslaw Rudy napsal(a):

> Then I added this to the httpserv.c:
> -----
> #include <net/route.h>
> -----
> or just this is enough:
> -----
> extern int NutIpRouteAdd(u_long ip, u_long mask, u_long gate, NUTDEVICE
> * dev);
> -----
> and everything works now.
> 
> Assuming, if there is no explicit function declaration while compiling
> the c source the default function argument types are used instead.

Of course, this is the way a C compiler is supposed to work.

Pavel Chromy



More information about the En-Nut-Discussion mailing list