C++
ã¯ããã« google-breakpadã¯ããªã¼ãã³ã½ã¼ã¹ã§ãã«ããã©ãããã©ã¼ã ã«å¯¾å¿ããã¯ã©ãã·ã¥ã¬ãã¼ãã£ã³ã°ã·ã¹ãã ã ãFirefoxã®ããã«ãé·æéé£ç¶ç¨¼åããããçµæ§ã¯ã©ãã·ã¥ãããã¨ãå¤ãããã°ã©ã ãã§çªç¶ãç³ã訳ãããã¾ãããã¨ã¢ããªã±ã¼ã·ã§ã³ãâ¦
ã¯ããã« ä»åã¯ã³ã¼ããéåæåããä¸ã§èã¨ãªã io_service ã«ã¤ãã¦åãä¸ããã ããã¡ã ååã¾ã§ãµã³ãã«ã³ã¼ãã«ã¤ãã¦ä¸å解説ãå ¥ãã¦ããªãã£ãããååå¯ãã«ä»¥ä¸ã®ãããªå¼ã³åºããè¡ã£ã¦ããã io_service.run(); ãããå¼ã³åºãã¨ãä½ãèµ·ãâ¦
ã¯ããã« ååä½ã£ãåå解決ãããã³ã¼ãããasio ã®ç価ãçºæ®ããã¦éåæã«ãã¦ã¿ããã ããã¡ã ããããªããåå解決ãããã³ã¼ãã asio ã使ããã« getaddrinfo ã gethostbyname ã使ã£ã¦æ¸ãããã¨ãããã®ãªãã以ä¸ã®ãããªãã¨ããåããããâ¦
ã¯ããã« boost ã® asio ããã¤ã®éã«ã ãã¼ã¸ã§ã³ 1.0 ã«ãªã£ã¦ãããããªããã å®éã«ã½ã±ããã使ãããã°ã©ã ã§ã©ã®ããã使ããã®ããããããªãã£ãã®ã§ãå°ã試ãã¦ã¿ããã¨ã«ããã ã¾ãã¯ãåå解決ããã ã ããã¡ã åå解決ãä¾®ã£ã¦ã¯ãããªãâ¦
ã³ã¼ã«ããã¯é¢æ°ã®ã¤ã³ã¹ã¿ã³ã¹ã¡ã½ããã使ããããã£ã¦ã®ã¯ãããããã¨ã ã¨æãããã®æ¹æ³ã¨ãã¦ãboost::mem_fnããã使ã£ã¦ãããã³ã¼ã«ããã¯é¢æ°ã®UserParamã«ãã¤ã³ã¹ã¿ã³ã¹ã®ãã¤ã³ã¿ãvoid**ã«ãã£ã¹ããã¦ç»é²ã ã³ã¼ã«ããã¯é¢æ°ã§ã¯ããããã¤â¦