I used the ccall simply because setopt was not exported and I didn't know 
how to get round that so I just copied the relevant line. This seemed to me 
it should do exactly the same thing as calling setopt(s, 
enable_broadcast=1). Is that not the case? It appears to work on Windows.

julia> s = UdpSocket()
UdpSocket(Ptr{Void} @0x045965c0,1,Condition({}),Condition({}),Condition({}))
julia> ccall(:uv_udp_set_broadcast,Cint,(Ptr{Void},Cint), s, 1)
0

I'm still left with my previous questions. 
Also I just can't get any sense out of Linux. It seems not to export any 
sockets stuff.

julia> TcpSocket()
ERROR: TcpSocket not defined

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