Closed philipcristiano closed 8 years ago
@philipcristiano definitely, OSX is a supported platform.
Are the erlang versions the same in the two examples? I think there was a change that required specifiying a port of 0 when passing in an fd. Try doing:
{ok, FD} = procket:open(53, [{protocol, udp},{type, dgram},{family, inet}]),
{ok, S} = gen_udp:open(0, [{fd,FD}]).
@msantos ah cheers! That solved it.
2> {ok, S} = gen_udp:open(0, [{fd,FD}]).
{ok,#Port<0.4118>}
Thanks for the quick support!
Running the example
seems to give me an error on OSX
When trying on a variety of ports. Is this expected to work on OSX?