{"action":"created","issue":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3784","labels_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3784/labels{/name}","comments_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3784/comments","events_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3784/events","html_url":"https://github.com/openframeworks/openFrameworks/pull/3784","id":70969964,"number":3784,"title":"Changing ofxNetwork to fix compile-time errors on Windows and VS 2013","user":{"login":"procedural","id":1072168,"avatar_url":"https://avatars.githubusercontent.com/u/1072168?v=3","gravatar_id":"","url":"https://api.github.com/users/procedural","html_url":"https://github.com/procedural","followers_url":"https://api.github.com/users/procedural/followers","following_url":"https://api.github.com/users/procedural/following{/other_user}","gists_url":"https://api.github.com/users/procedural/gists{/gist_id}","starred_url":"https://api.github.com/users/procedural/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/procedural/subscriptions","organizations_url":"https://api.github.com/users/procedural/orgs","repos_url":"https://api.github.com/users/procedural/repos","events_url":"https://api.github.com/users/procedural/events{/privacy}","received_events_url":"https://api.github.com/users/procedural/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-25T21:30:32Z","updated_at":"2015-04-25T22:49:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/pulls/3784","html_url":"https://github.com/openframeworks/openFrameworks/pull/3784","diff_url":"https://github.com/openframeworks/openFrameworks/pull/3784.diff","patch_url":"https://github.com/openframeworks/openFrameworks/pull/3784.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/comments/96289542","html_url":"https://github.com/openframeworks/openFrameworks/pull/3784#issuecomment-96289542","issue_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3784","id":96289542,"user":{"login":"procedural","id":1072168,"avatar_url":"https://avatars.githubusercontent.com/u/1072168?v=3","gravatar_id":"","url":"https://api.github.com/users/procedural","html_url":"https://github.com/procedural","followers_url":"https://api.github.com/users/procedural/followers","following_url":"https://api.github.com/users/procedural/following{/other_user}","gists_url":"https://api.github.com/users/procedural/gists{/gist_id}","starred_url":"https://api.github.com/users/procedural/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/procedural/subscriptions","organizations_url":"https://api.github.com/users/procedural/orgs","repos_url":"https://api.github.com/users/procedural/repos","events_url":"https://api.github.com/users/procedural/events{/privacy}","received_events_url":"https://api.github.com/users/procedural/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T22:49:42Z","updated_at":"2015-04-25T22:49:42Z","body":"I tested it already, it compiles and works for MinGW and VS 2013, the code just replaces unavailable on Windows `fcntl` with `ioctlsocket` and adds a cast for `getsockopt` which is also necessary to avoid compile error on Visual Studio (see [related MSDN page](https://msdn.microsoft.com/en-us/library/windows/desktop/ms738544%28v=vs.85%29.aspx))"}}