[En-Nut-Discussion] NutIpRouteRecQuery question

GPenzo gpenzo at wanadoo.nl
Sat Apr 30 22:47:20 CEST 2005


Harald Kipp wrote:

> Grayson,
>
> 192.168.2.0 is the network's ip, which is correct for
> IP 192.168.2.2 and mask 255.255.255.0.
>
> I do not understand your second parameter, because this
> should be a pointer to an unsigned long. The function
> will return the gateway's IP in it.
>
> Harald
>
> At 22:20 28.04.2005 +0200, you wrote:
>
>> Hello guys can any one help me wth nut/os.
>>
>> The NutIpRouteRecQuery function is called by the nut/os in the 
>> following way.
>>
>> NutIpRouteRecQuery(192.168.2.2, 192.168.2.1, 0); (just to simplefy 
>> thinks i wote the ip adresses )
>>
>> The function returns a RTENTRY pointer. when i look in the rt_ip 
>> variable in this pointer is see 192.168.2.0
>> must rt_ip not be 192.168.2.2??????
>>
>> If not can anyone tell me why.
>>
>> Many thanks Grayson Penzo
>>
>> _______________________________________________
>> En-Nut-Discussion mailing list
>> En-Nut-Discussion at egnite.de
>> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
>
Your correct harald. Was only a example what the nut/os does.
Thanks for the info.
Grayson Penzo




More information about the En-Nut-Discussion mailing list