Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PEthSocket::EnumInterfaces ( PINDEX  idx,
PString name 
)

Enumerate all the interfaces that are capable of being accessed at the ethernet level. Begin with index 0, and increment until the function returns FALSE. The name string returned can be passed, unchanged, to the Connect() function.

Note that the driver does not need to be open for this function to work.

Returns:
TRUE if an interface has the index supplied.
Parameters:
idx  Index of interface
name  Interface name

Definition at line 1605 of file ethsock.cxx.

{
  return driver->EnumInterfaces(idx, name);
}


Generated by  Doxygen 1.6.0   Back to index