{"action":"created","issue":{"url":"https://api.github.com/repos/Imroy/pubsubclient/issues/27","labels_url":"https://api.github.com/repos/Imroy/pubsubclient/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/Imroy/pubsubclient/issues/27/comments","events_url":"https://api.github.com/repos/Imroy/pubsubclient/issues/27/events","html_url":"https://github.com/Imroy/pubsubclient/issues/27","id":97245080,"number":27,"title":"can't connect with String hostname","user":{"login":"Sushinn","id":11080704,"avatar_url":"https://avatars.githubusercontent.com/u/11080704?v=3","gravatar_id":"","url":"https://api.github.com/users/Sushinn","html_url":"https://github.com/Sushinn","followers_url":"https://api.github.com/users/Sushinn/followers","following_url":"https://api.github.com/users/Sushinn/following{/other_user}","gists_url":"https://api.github.com/users/Sushinn/gists{/gist_id}","starred_url":"https://api.github.com/users/Sushinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sushinn/subscriptions","organizations_url":"https://api.github.com/users/Sushinn/orgs","repos_url":"https://api.github.com/users/Sushinn/repos","events_url":"https://api.github.com/users/Sushinn/events{/privacy}","received_events_url":"https://api.github.com/users/Sushinn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-25T18:29:52Z","updated_at":"2015-07-31T03:04:23Z","closed_at":null,"body":"I've set up a DDNS on my router and I'm tring to connect the ESP with your library using the constructor client(wclient, server) where server is a String with my hostname, Ex. \"mybroker.ddns.net\".\r\n\r\nHowever this does not work."},"comment":{"url":"https://api.github.com/repos/Imroy/pubsubclient/issues/comments/126552042","html_url":"https://github.com/Imroy/pubsubclient/issues/27#issuecomment-126552042","issue_url":"https://api.github.com/repos/Imroy/pubsubclient/issues/27","id":126552042,"user":{"login":"Sushinn","id":11080704,"avatar_url":"https://avatars.githubusercontent.com/u/11080704?v=3","gravatar_id":"","url":"https://api.github.com/users/Sushinn","html_url":"https://github.com/Sushinn","followers_url":"https://api.github.com/users/Sushinn/followers","following_url":"https://api.github.com/users/Sushinn/following{/other_user}","gists_url":"https://api.github.com/users/Sushinn/gists{/gist_id}","starred_url":"https://api.github.com/users/Sushinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sushinn/subscriptions","organizations_url":"https://api.github.com/users/Sushinn/orgs","repos_url":"https://api.github.com/users/Sushinn/repos","events_url":"https://api.github.com/users/Sushinn/events{/privacy}","received_events_url":"https://api.github.com/users/Sushinn/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T03:04:23Z","updated_at":"2015-07-31T03:04:23Z","body":"Solved the problem declaring the hostname as a char array, not a string. (Ex.: char server[] = \"mybroker,ddns.net\")\r\n\r\nHowever, I can't do the same with the mDNS/Bonjur address of my broker. Maybe a mDNS resolver is necessary?"}}