In the latest draft, UDPSocket is opened asynchronously but the localPort and localAddress is only realized after determine by platform if no initial value in constructor. I would suggest that these two attributes can be null before opened. This can be done by making localAddress and localPort nullable.
In the latest draft, UDPSocket is opened asynchronously but the localPort and localAddress is only realized after determine by platform if no initial value in constructor. I would suggest that these two attributes can be null before opened. This can be done by making localAddress and localPort nullable.