When I try the given example:
julia> addr = IPv4(255,255,255,255)
s = UdpSocket()
msg = zeros(Uint8, 63)
msg[1] = 0xef
msg[2] = 0xfe
msg[3] = 0x02
ERROR: UDP send failed: permission denied (EACCES)
(note that I used msg[1], because julia arrays are 1-indexed). The solution
to allow boradcast is indeed what was
mentioned by andrew. I didn't export it because I don't know if it's the
best interface, but it should work just fine.
On Fri, Feb 21, 2014 at 6:37 PM, Keno Fischer
<[email protected]>wrote:
> Probably not handling the EACCESS error code. I'll have a look.
>
>
> On Fri, Feb 21, 2014 at 5:35 PM, Bob Cowdery <[email protected]> wrote:
>
>> I noticed that setopt wasn't exported which seemed odd as it would appear
>> to be required. Still should not have hung repl though.
>>
>>
>> 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
>>>
>>
>