Skip to content

Loading…

Request: NetworkInterface::adapterName() #148

Closed
lbakman opened this Issue · 3 comments

2 participants

@lbakman

The NetworkInterface class provides two accessors to names: name() and displayName().

I would like to request that adapterName() be added to that list as some Windows network API's (DHCP is an example) use the AdapterName (GUID or LUID i believe) as input parameter.

I realise that there are helper functions for converting indexes to different names or identifiers but they are only available on Windows Vista or later.

On other operating systems I guess that the adapter name will be the same as name() and displayName() just as name() and displayName() are the same..

@aleks-f
POCO C++ Libraries member

I'm fine with this but if you want it in 1.5.2 , you'll have to implement it yourself and send pull request.

@lbakman

I have submitted a pull request.

This is my first attempt at git so I hope I have done it correctly.

@aleks-f aleks-f was assigned
@aleks-f
POCO C++ Libraries member

Looks good, I'll test it before 1.5.2 release.

@aleks-f aleks-f closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.