For example, both the POSIX and the STM32 DatagramSocket use the same Datagram class, which in turn uses the os.InternetAddress. On the other hand, the STM32 DatagramSocket requires the STM32 InternetAddress for its send() method, since the os.InternetAddress does not expose the bytes list publicly.
For example, both the POSIX and the STM32
DatagramSocket
use the sameDatagram
class, which in turn uses theos.InternetAddress
. On the other hand, the STM32DatagramSocket
requires the STM32InternetAddress
for itssend()
method, since theos.InternetAddress
does not expose thebytes
list publicly.