[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Hvilket interface



Hey

Jeg sidder og porter noget kode, som er skrevet til Windows og kan ikke
rigtig finde en passende ioctl kommando.

Jeg skal finde ud af hvilket interface, som en netværks pakke vil
passere igennem, når den sendes til en bestemt host (ude på
nettet...ikke lokal). På Windows er det implementeret ved at give
WSAIoctl SIO_ROUTING_INTERFACE_QUERY kommandoen, som tager to adr_inet
strukturer som parameter: en input parameter som indeholder adressen på
den host man vil nå, og en output parameter som opdateres med adressen
på det interface, man skal bruge.

Hvad vil være den rigtige måde at gøre det samme på med Linux ?

Vh
Robert


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2007-09-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *