Csound Csound-dev Csound-tekno Search About

[Csnd] socksend on win?

Date2014-03-04 16:19
FromOeyvind Brandtsegg
Subject[Csnd] socksend on win?
Hi,
anyone got socksend/recv or stsend/recv working on windows?
I tried connecting two Csound instances running on the same computer, using

socksend a1, "127.0.0.1", 7777, 200
in the sending instance and

    a1     sockrecv 7777, 200
in the receiving instance, but I get no sound.

Also tried using stsend/recv in a similar manner, but they give the error
"write to socket failed" (and simultaneous "read to socked failed in
the other instance)
I start the receiver first, then the sender. Also tried starting in
opposite order.
Tried disabling firewall.

Could there be anything platform related, or are they not supposed to
both send and receive on the same machine? or is it just me doing
something wrong?

best
Oeyvind

-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

Date2014-03-04 17:24
FromAnders Genell
SubjectRe: [Csnd] socksend on win?
I assume the omission of a comma in the sockrecv example you posted is just an email typo, and not the actual csd code...

Other than that, I have successfully sent audio using socksend on windows, but it was received by a different program, so I have not tried receiving using sockrecv. 

Regards,
Anders



4 mar 2014 kl. 17:19 skrev Oeyvind Brandtsegg :

> Hi,
> anyone got socksend/recv or stsend/recv working on windows?
> I tried connecting two Csound instances running on the same computer, using
> 
> socksend a1, "127.0.0.1", 7777, 200
> in the sending instance and
> 
>    a1     sockrecv 7777, 200
> in the receiving instance, but I get no sound.
> 
> Also tried using stsend/recv in a similar manner, but they give the error
> "write to socket failed" (and simultaneous "read to socked failed in
> the other instance)
> I start the receiver first, then the sender. Also tried starting in
> opposite order.
> Tried disabling firewall.
> 
> Could there be anything platform related, or are they not supposed to
> both send and receive on the same machine? or is it just me doing
> something wrong?
> 
> best
> Oeyvind
> 
> -- 
> 
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
> 
> http://flyndresang.no/
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://soundcloud.com/t-emp
> 
> 
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 
> 


Date2014-03-05 08:22
FromOeyvind Brandtsegg
SubjectRe: [Csnd] socksend on win?
Hm, I can't see where the comma is missing here
a1     sockrecv 7777, 200
(?)
What application did you use to receive the data?, just so I could
test under similar conditions.
Oeyvind

2014-03-04 18:24 GMT+01:00 Anders Genell :
> I assume the omission of a comma in the sockrecv example you posted is just an email typo, and not the actual csd code...
>
> Other than that, I have successfully sent audio using socksend on windows, but it was received by a different program, so I have not tried receiving using sockrecv.
>
> Regards,
> Anders
>
>
>
> 4 mar 2014 kl. 17:19 skrev Oeyvind Brandtsegg :
>
>> Hi,
>> anyone got socksend/recv or stsend/recv working on windows?
>> I tried connecting two Csound instances running on the same computer, using
>>
>> socksend a1, "127.0.0.1", 7777, 200
>> in the sending instance and
>>
>>    a1     sockrecv 7777, 200
>> in the receiving instance, but I get no sound.
>>
>> Also tried using stsend/recv in a similar manner, but they give the error
>> "write to socket failed" (and simultaneous "read to socked failed in
>> the other instance)
>> I start the receiver first, then the sender. Also tried starting in
>> opposite order.
>> Tried disabling firewall.
>>
>> Could there be anything platform related, or are they not supposed to
>> both send and receive on the same machine? or is it just me doing
>> something wrong?
>>
>> best
>> Oeyvind
>>
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://flyndresang.no/
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://soundcloud.com/t-emp
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>            https://sourceforge.net/p/csound/tickets/
>> csound5:
>>            https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

Date2014-03-05 08:41
FromAnders Genell
SubjectRe: [Csnd] socksend on win?
You're right, I can't read at all obviously. Forget about the comma.
The application I used was one written by a colleague of mine, so it's not readily available and since I am no programmer myself, I can't really figure out what it does in detail. It is as far as I know written as a general udp receiver just taking whatever packets are inbound on the correct port and storing them in a buffer of some sort.

If you have a Linux machine available on the same network some headway may be made using netcat and/or wireshark etc to see if there is any datastream what so ever.

Sorry for not being of much use..

Regards,
Anders


On Wed, Mar 5, 2014 at 9:22 AM, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote:
Hm, I can't see where the comma is missing here
a1     sockrecv 7777, 200
(?)
What application did you use to receive the data?, just so I could
test under similar conditions.
Oeyvind

2014-03-04 18:24 GMT+01:00 Anders Genell <anders.genell@gmail.com>:
> I assume the omission of a comma in the sockrecv example you posted is just an email typo, and not the actual csd code...
>
> Other than that, I have successfully sent audio using socksend on windows, but it was received by a different program, so I have not tried receiving using sockrecv.
>
> Regards,
> Anders
>
>
>
> 4 mar 2014 kl. 17:19 skrev Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no>:
>
>> Hi,
>> anyone got socksend/recv or stsend/recv working on windows?
>> I tried connecting two Csound instances running on the same computer, using
>>
>> socksend a1, "127.0.0.1", 7777, 200
>> in the sending instance and
>>
>>    a1     sockrecv 7777, 200
>> in the receiving instance, but I get no sound.
>>
>> Also tried using stsend/recv in a similar manner, but they give the error
>> "write to socket failed" (and simultaneous "read to socked failed in
>> the other instance)
>> I start the receiver first, then the sender. Also tried starting in
>> opposite order.
>> Tried disabling firewall.
>>
>> Could there be anything platform related, or are they not supposed to
>> both send and receive on the same machine? or is it just me doing
>> something wrong?
>>
>> best
>> Oeyvind
>>
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://flyndresang.no/
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://soundcloud.com/t-emp
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>            https://sourceforge.net/p/csound/tickets/
>> csound5:
>>            https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>>
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>



--

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"