{"id":602,"date":"2006-05-22T11:12:55","date_gmt":"2006-05-22T10:12:55","guid":{"rendered":"http:\/\/www.lubica.net\/bigwhale\/blog\/?p=602"},"modified":"2006-05-22T11:12:55","modified_gmt":"2006-05-22T10:12:55","slug":"gethostbyname","status":"publish","type":"post","link":"https:\/\/lubica.net\/bigwhale\/blog\/gethostbyname\/","title":{"rendered":"gethostbyname()"},"content":{"rendered":"<p>\u0160e ena cvetka iz Microsoftovih logov. Ja, res je, ne razvijam dosti za Windows platforme in ponosen sem na to, ko pa razvijam, pa ve\u010dino \u010dasa vzdihujem in jamram nad bizarnostmi. Tole je citat iz MSDNja:<\/p>\n<p><em>&#8220;Note\u00a0 The gethostbyname function has been deprecated by the introduction of the getaddrinfo function. Developers creating Windows Sockets 2 applications are urged to use the getaddrinfo function instead of gethostbyname.&#8221;<\/em><\/p>\n<p>In potem se ljudje \u010dudijo zakaj se otepam razvoja za Windows. Zakaj? Preprosto, preprosto zato, ker napi\u0161em eno funkcijo, ki deluje na petih razli\u010dnih operacijskih sistemih, a pri \u0161estem mi dokumentacije re\u010de, da je neka funkcija <em>deprecated<\/em> in da naj uporabim neko drugo, ki vrne ven nekaj popolnoma drugega.<\/p>\n<p>Tako bo sedaj moja funkcija, ki od userja zahteva FQDN ali pa IP \u0161tevilko pisana dvakrat. Enkrat za vse spodobne operacijske sisteme in drugi\u010d, za neko stekleno razbitino.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0160e ena cvetka iz Microsoftovih logov. Ja, res je, ne razvijam dosti za Windows platforme in ponosen sem na to, ko pa razvijam, pa ve\u010dino \u010dasa vzdihujem in jamram nad bizarnostmi. Tole je citat iz MSDNja: &#8220;Note\u00a0 The gethostbyname function has been deprecated by the introduction of the getaddrinfo function. Developers creating Windows Sockets 2 applications are urged to use the getaddrinfo function instead of gethostbyname.&#8221; In potem se ljudje \u010dudijo zakaj se otepam razvoja za Windows. Zakaj? Preprosto, preprosto&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/lubica.net\/bigwhale\/blog\/gethostbyname\/\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-602","post","type-post","status-publish","format-standard","hentry","category-windows-hate"],"_links":{"self":[{"href":"https:\/\/lubica.net\/bigwhale\/blog\/wp-json\/wp\/v2\/posts\/602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lubica.net\/bigwhale\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lubica.net\/bigwhale\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lubica.net\/bigwhale\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lubica.net\/bigwhale\/blog\/wp-json\/wp\/v2\/comments?post=602"}],"version-history":[{"count":0,"href":"https:\/\/lubica.net\/bigwhale\/blog\/wp-json\/wp\/v2\/posts\/602\/revisions"}],"wp:attachment":[{"href":"https:\/\/lubica.net\/bigwhale\/blog\/wp-json\/wp\/v2\/media?parent=602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lubica.net\/bigwhale\/blog\/wp-json\/wp\/v2\/categories?post=602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lubica.net\/bigwhale\/blog\/wp-json\/wp\/v2\/tags?post=602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}