-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/08/2014 07:24 PM, Akhil Arora wrote: > For an fd/SOCKET obtained externally to libuv, uv_tcp_open() works > fine on the unices, but throws an ENOTCONN on windows when > uv_read_start is called on the opened tcp handle. This error is > being generated by a call to uv__set_artificial_error in > uv_read_start(). Seems like UV_HANDLE_READABLE (and perhaps > WRITABLE) flags are not set on the handle. Should uv_tcp_open do > that, or is there another way to set these flags? This is with > libuv v0.10.27. Thanks in advance >
Is the socket connected? Did you bind it? Can you provide a test case? - -- Saúl Ibarra Corretgé bettercallsaghul.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iQIcBAEBAgAGBQJTvDKiAAoJEEEOVVOum8BZMeUP/RUtA5xUf6Lbghxdt8+0x6Hr 1Gvn1MCL5uR/vP7IB66vGJEkpfnYhU5hmYaUN3Y3poRA2W4v5Yu9JEWJG2IyfO4K lMoS/YaIW360IHuCWHOqljjtwILfBnCCrDyy3ssBhIypiAVLnAt8KIAMIuJSz7nN 58gKK7RjX632+Vvlodnq5c4Vy5SUUltPTErSPuNTs3htlNUek3kY0FMNgOvK+l+W aWSFiVi43hr3O5NXxN5SbizRO8wWYUAjw+Tw8exrGr/2DzqMZgb7FdfbUMVbhthQ vMVJ0czlptQQ2w3or3aOXNPWXaAIAKWz+1w0Tda1L8IgR1ZbZ+J9rpheKFfBtGn+ 0niXB5zcXMeAUa185IEgzSiJmD5FFTvUrVJ7JyoIvc72Nyic1FHClB1qDzkyIcs0 a1B5YMe98bmiEgOfrix4dqmTzn6Gx94PewkI8VgWpi7aKgtIP9PyokYMLGBlkAc3 lZpYXkd8MUJfz7LjiQkgWUGId2qZ43rmHNANfARbXwSh1bi101HziV6MhnoAN5zh TD81xatuC5a1RWfLL2THOFHV74x5VLgiyN2Lwmody+UKp0Yz4/zexZuc4bqPDUAN C5jM45WtfX8C7hLjE3s90wxyICUC6YnZ3xxrP2vaJJ/6goirJisMzO00GsqMooZu oakHR/+5FRyyXK8l1jZ2 =xY0o -----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.
