Windows - bind+send+recvfrom (udp)

Hi,

We are having trouble here with a ruby-program using a UDPSocket to send and
recieve packets.

it is similair to:
s = UPDSocket.new(…)
s.bind(…)
s.send(…)
s.recvfrom(…)

At send an EINVAL exception is raised. The same code works under FreeBSD. Any
hints on how to fix/avoid this?

···


---------------------------------------------------------------------------.
Patrik Sundberg Address: Rydsvägen 100C, 584 31 Linköping, Sweden |
Email: ps@raditex.se || ps@radiac.mine.nu |
Phone: +46 13 178567 || +46 707 602240 |
.—> Applied Physics and Electrical Engineering student |

-----> Master of Science in Business Administration and Economics student |
-------> UNIX/Programming consultant |
`--------------------------------------------------------------------------’