The documentation states that using a datagram socket is possible (http://mozart2.org/mozart-v1/doc-1.4.0/op/node11.html#section.type). But when executing the following code :
SFD={New Open.socket init(type: datagram protocol: "udp" time:~1)}
There is an error that comes from the function CompatSocket in this file.
fun {CompatSocket Domain Type Proto}
case Domain of 'PF_INET' then
case Type
of 'SOCK_STREAM' then
{New CompatTCPSocketClass init(desc:$) _}
end
end
end
There is no matching for datagram and also no support.
The documentation states that using a datagram socket is possible (http://mozart2.org/mozart-v1/doc-1.4.0/op/node11.html#section.type). But when executing the following code :
There is an error that comes from the function
CompatSocketin this file.There is no matching for datagram and also no support.