-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels