Re: [Chicken-users] Help with udp6 / socket

2015-02-17 Thread Jim Ursetto
I’ve documented the family parameter to udp-open-socket and fleshed out the examples (including a daytime client/server pair). Hope this helps. http://api.call-cc.org/doc/udp6 Jim On Feb 17, 2015, at 03:56, Scott McCoid mccoid.sc...@gmail.com wrote: Hi Jim, This completely worked for

Re: [Chicken-users] Help with udp6 / socket

2015-02-17 Thread Scott McCoid
Hi Jim, This completely worked for me, thanks for the clear example! I didn't even think to check if (udp-open-socket) also accepted extra arguments. Thanks again! Scott On Tue, Feb 17, 2015 at 4:17 AM, Jim Ursetto zbignie...@gmail.com wrote: Scott, This works on my system (10.10.2, CHICKEN

Re: [Chicken-users] Help with udp6 / socket

2015-02-16 Thread Jim Ursetto
Scott, This works on my system (10.10.2, CHICKEN 4.8.0.6). Note the undocumented argument to udp-open-socket… not sure what I was thinking. If this works for you, I will document the argument and add the example to the wiki. (use udp6) (define s (udp-open-socket 'inet6)) (udp-bind! s ::

Re: [Chicken-users] Help with udp6 / socket

2015-02-16 Thread Scott McCoid
Hi Christian! Thanks for the quick help and netcat tip. I was able to send from my script and receive with netcat (for example: *nc -u -6 -l 8000*) without any problems. (sending to port 8000 in my script) I've tried doing the reverse situation, where I receive on the script side and send using

Re: [Chicken-users] Help with udp6 / socket

2015-02-16 Thread Christian Kellermann
Hi Scott! Scott McCnoid mccoid.sc...@gmail.com writes: I'm reasonably new to chicken-scheme (and scheme in general), and I'm having trouble with the udp6 (and likewise, socket) eggs. I'm trying to run the example code, but the connection is always refused. *Error: (socket-receive!) cannot

[Chicken-users] Help with udp6 / socket

2015-02-16 Thread Scott McCoid
Hello, I'm reasonably new to chicken-scheme (and scheme in general), and I'm having trouble with the udp6 (and likewise, socket) eggs. I'm trying to run the example code, but the connection is always refused. *Error: (socket-receive!) cannot read from socket - Connection refused: #socket fd:4