[Squeak-fr] osc

nicob sl1200mk2 at free.fr
Sam 2 Avr 16:03:10 CEST 2005


well, when i used this:
>>>> aSocket := (Socket udpCreateIfFail: [self halt]) setPort:  7010.
>>>>
>>>> aProcess:=
>>>> [ 	
>>>> 	[dataStream _ RWBinaryOrTextStream on: (String new: 1024).
>>>> 	buf _ String new: 4000.
>>>> 	anArray:=aSocket receiveUDPDataInto: buf.
>>>> 	sizeOfBuf := anArray first.
>>>> 	1 to: sizeOfBuf do: [:ii | dataStream nextPut: (buf at: ii)].
>>>> 	dataStream reset.
>>>> 	sizeOfBuf >0 ifTrue: [Transcript show: (dataStream contents)  
>>>> asString;cr]] repeat] fork.
>>>

i have result in the transcript, but when i use (OSCServer  
listenOnPort: yourPort) inspect, i got nothing
but messageQueue is not clear for me (that's surelly the problem...)

will contiue to try...
thanks
Le 2 avr. 05, à 15:42, Markus Gaelli a écrit :

> What happens when you
> do
> - (OSCServer listenOnPort: yourPort) inspect
>
> and then send its instance-variable messageQueue the message next and  
> inspect the result (certainly after you send some message to the  
> machine from PD whatever) ?
>
> I have no time for GUI building right now, sorry.
>
> Cheers,
>
> Markus
>
> p.s. Sorry to write here in English, but I am really a bit stressed..  
> ;-)
>
> On Apr 2, 2005, at 14:03, nicob wrote:
>
>> hello everybody
>>
>> est-ce quelqu'un a essaye les classes osc de markus gaelli
>> http://map1.squeakfoundation.org/sm/package/61f807be-83a3-4944-bfa1 
>> -686ddac7153c/autoversion/3
>>
>> je n'arrive pas a faire fonctionner le serveur osc (recevoir des  
>> donnees dans squeak)
>>
>> quelqu'un pourrait-il m'aider...
>>
>> merci
>> nicolas
>>
>>
>> _______________________________________________
>> Squeak-fr mailing list
>> Squeak-fr at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/listinfo/squeak-fr
>
> _______________________________________________
> Squeak-fr mailing list
> Squeak-fr at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/squeak-fr




Plus d'informations sur la liste de diffusion Squeak-fr