good catch , now we know why it does what it does. The reason why I did
this is that there is an example method in OSCMessage that use this bad
syntax in the comment.
So it seems the Socket does send the message because Pharo does not perform
a check on the argument, the Socket fails obviously but
I'm amazed that ever works, as (in general, maybe mac is special,) you need
to specify the ipv4 address as a ByteArray, not a string.
(OSCMessage for:{'/mixer.volume'. 1 . 0.2})sendTo: #[127 0 0 1] port: 57120
Cheers,
Henry
--
View this message in context:
http://forum.world.st/UDP-Socket-pri
UDP works pretty well in Pharo.
UDP is also quite simple (being connectionless).
It is quite likely that the high level Pharo code does something wrong.
> On 31 Oct 2016, at 18:15, Dimitris Chloupis wrote:
>
> *Conclusion: Problem solved, Pharo bug remains
>
> I was also informed in Slack tha
*Conclusion: Problem solved, Pharo bug remains
I was also informed in Slack that this may be a Mac only problem.
On Mon, Oct 31, 2016 at 7:13 PM Dimitris Chloupis
wrote:
> The number does not matter, you are both right and wrong.
>
> You are correct indeed the string inside the array creates an
The number does not matter, you are both right and wrong.
You are correct indeed the string inside the array creates an error by
itself and also contributes to the primitive error of the UDP socket.
You are wrong for thinking this is the only issue here. What we have here
is a problematic primiti
Am 31.10.2016 5:14 nachm. schrieb "Nicolai Hess" :
>
> Hi,
>
> 2016-10-31 12:46 GMT+01:00 Dimitris Chloupis :
>>
>> Hey guys I try to use Pharo to use Supercollider via OSC. OSC library is
maintained by Stef in STHub.
>>
>> So SC informs that it receives the messages sent, but in Pharo I am
getting
Hi,
2016-10-31 12:46 GMT+01:00 Dimitris Chloupis :
> Hey guys I try to use Pharo to use Supercollider via OSC. OSC library is
> maintained by Stef in STHub.
>
> So SC informs that it receives the messages sent, but in Pharo I am
> getting annoying Primitive errors that I paste bellow. Anyone know