Hi there,

> I am using SocketPrim to send a udp packet to each of 254 
> addresses on a
> network. The message packets have been preconstructed and placed in a
> list, whose content has already been checked for correctness 
> and appear
> to meet the specifications in the appropriate RFC. When I go
> through the list (using mapM_), sending a packet to each address with
> sendTo, I get a valid return code from sendTo (used trace to 
> check that) 
> for the addresses from 10.129.129.1 through 10.129.129.239. Address
> 10.129.129.240, however, fails with the messages
> 
> Fail: invalid argument
> Action: sendTo
> Reason: invalid argument

The networking libraries have been rewritten in 5.02, so it may well be
the case that the bug is fixed.  If you send us an example program, I
can try it out for you, or you could wait for the release (I don't want
to speak for our release manager, but a release today is not beyond the
bounds of possibility).

Cheers,
        Simon

PS. I get suspicious when someone wants to send packets to all the
machines on the local net.  You wouldn't be writing a worm in Haskell
would you? :-)

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to