{"action":"opened","issue":{"url":"https://api.github.com/repos/orweis/winpcapy/issues/5","repository_url":"https://api.github.com/repos/orweis/winpcapy","labels_url":"https://api.github.com/repos/orweis/winpcapy/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/orweis/winpcapy/issues/5/comments","events_url":"https://api.github.com/repos/orweis/winpcapy/issues/5/events","html_url":"https://github.com/orweis/winpcapy/issues/5","id":186721600,"number":5,"title":"Can I get the IP address through a certain dev name?","user":{"login":"litesky","id":8658109,"avatar_url":"https://avatars.githubusercontent.com/u/8658109?v=3","gravatar_id":"","url":"https://api.github.com/users/litesky","html_url":"https://github.com/litesky","followers_url":"https://api.github.com/users/litesky/followers","following_url":"https://api.github.com/users/litesky/following{/other_user}","gists_url":"https://api.github.com/users/litesky/gists{/gist_id}","starred_url":"https://api.github.com/users/litesky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/litesky/subscriptions","organizations_url":"https://api.github.com/users/litesky/orgs","repos_url":"https://api.github.com/users/litesky/repos","events_url":"https://api.github.com/users/litesky/events{/privacy}","received_events_url":"https://api.github.com/users/litesky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-02T06:21:47Z","updated_at":"2016-11-02T06:21:47Z","closed_at":null,"body":"My work environment is Win10 64bit, Python 3.5.2, Win10Pcap:\r\n```python\r\n>>> from winpcapy import WinPcapDevices\r\n>>> with WinPcapDevices() as devices:\r\n...     for device in devices:\r\n...         print (device.addresses.contents.addr.contents.sa_data)\r\nb''\r\n```\r\n```python\r\n>>> from winpcapy import winpcapy_types as wtypes\r\n>>> import ctypes\r\n>>> err_buffer = ctypes.create_string_buffer(wtypes.PCAP_ERRBUF_SIZE)\r\n>>> dev_name = b'...'\r\n>>> valA = ctypes.c_uint(1)\r\n>>> valB = ctypes.c_uint(1)\r\n>>> wtypes.pcap_lookupnet(dev_name, valA, valB, err_buffer)\r\n0\r\n>>> valA\r\n0\r\n>>> valB\r\n0\r\n```\r\n"}}
{"actor":{"display_login":"litesky"}}