That worked. Thanks! Martin
On Wednesday, May 7, 2014 4:15:09 PM UTC+2, Saúl Ibarra Corretgé wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > On 05/07/2014 04:01 PM, Martin Sustrik wrote: > > Hi Saul, > > > > I've fixed the server initialisation. > > > > To loop still exits immediately. > > > > Any further suggestions? > > > > Here is the fixed example: > https://gist.github.com/saghul/11952dc95deb618df8f1 > > uv_loop_default returns a loop pointer, so I adjusted the code and > added the extra assert in case bind fails. > > It should work as you expect now. > > > Cheers, > > - -- > Saúl Ibarra Corretgé > bettercallsaghul.com > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: Using GnuPG with Icedove - http://www.enigmail.net/ > > iQIcBAEBAgAGBQJTaj/tAAoJEEEOVVOum8BZuD0QAM5iomrNquQFA1RSlhTnyvB6 > FQycXSPl6ICj6pYciXjvQ8yZWUe1wX0afH/wTldW6ON5OD0xF8KmpCjd0we6DQQj > npu2cDiPhEcjKMIYXKUA6X3CcaKdoecqnk6i6oQV1ZgIzL4odml+f2wsda5CJIUG > BF4pr46u3b1BBlclUzPgFPYhTdmI79RkF1JcovAnoTZcxxdtCqNPfT/hI6FUER4w > c+kLMfOoamjNk9i5x8C6EyYO4+IdgPQhrkoV198pWoHO/QIgdSH1i6o8QTNbsx0E > u3KHMd9amdSlw95hb+llExuKA4/8/D963NPMq45CUrDH4L+XQHVsuRcV1NkwDs1/ > mZsDpeedT+4oQF3oB1M0ucnTafmZGeKEhAcD5RUmIFNuO4R07u0WF+yArh9AZXOp > AGVGDfhzEd3/vzeYQOrZ+z+0TAmrf4iJf7IeltEcEhaVeu5kkVsmoavQ8c4VB8Yx > ogUnxai845NbNHlzwckyxxUFR36zRadUVxsQTics8hLSRRDogCZOAWtD3Mp9Ss5c > 8NeM8XfgBu2FF9cTaewdl+FTk3T17O0eV6hXhR7ozrf0YgiuT+l7TuPCjxU0SaXN > /eQacDuO3siMvj+QDYyfB9c7NMF2KcRxIdRIrLxkBGSRngWyaZBf9nDFhcCKJs5U > 8fnwAn8LH4SSRtdzpL9k > =DGBD > -----END PGP SIGNATURE----- > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
