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

Przemyslaw Rudy prudy at audiotech.pl
Sun Oct 30 20:14:00 CET 2005


Obviously yes!
Just wanted to pay the attention where the problem can be if anyone
modifying the example has no success with it :)

Użytkownik Pavel Chromy napisał:

> 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
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
> 



More information about the En-Nut-Discussion mailing list