[Vm-dev] unix nameToAddr() function appears to not work on Raspbian?

David T. Lewis lewis at mail.msen.com
Wed Sep 23 17:17:54 UTC 2015


Agreed, that is a bug. Calling connect() on a UDP socket has a defined
meaning, so it should be permitted in the plugin.

Dave

>  On 23.09.2015, at 15:31, Bert Freudenberg <bert at freudenbergs.de> wrote:
>>
>> On 23.09.2015, at 04:22, David T. Lewis <lewis at mail.msen.com> wrote:
>>>
>>> But if it works in Python, then it should work in Squeak.
>>
>> Yep.
>
> Debugged the VM with Tobias and found the problem: the “connectTo”
> primitive explicitly ignores UDP sockets and does not call the OS’s
> “connect” function.
>
> IMHO that’s a VM bug. Even if normal UDP code uses “sendTo” directly
> and does not need a “connectTo”, *if* I try to connect a UDP socket,
> it should still do it.
>
> - Bert -
>
>
>




More information about the Vm-dev mailing list