You can an EACCESS if you try to broadcast without enabling broadcast on
the socket first (see the unexported julia fuction for how to do that
without ccalling libuv directly). On Linux and OS X you also get the
correct error code, but that appears not to be the case on windows. I'll
have a look.


On Sat, Feb 22, 2014 at 1:19 PM, Bob Cowdery <[email protected]> wrote:

> Slight progress I guess. If I do
> ccall(:uv_udp_set_broadcast,Cint,(Ptr{Void},Cint), s, 1)
> then at lease the send does not hang on me. However, the broadcast does
> not seem to be received and if I do a read
> recv (s)
> that hangs for ever. How do I get a read timeout or even break out of that
> as I have to kill Julia.
>
>
> On Wednesday, February 5, 2014 7:57:34 PM UTC, Bob Cowdery wrote:
>
>> Does the network i/o package support UDP as it only seems to have TCP
>> functions.
>>
>> Thanks
>> Bob
>>
>

Reply via email to