[MLton] svn MLton bind() error

Anders Petersson demitar at worldforge.org
Wed Dec 20 23:05:14 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It seems that svn MLton (rev 4993) fails when binding an internet
socket (UDP or TCP) to a port (unix sockets work as expected).

The minimal testcase:

val socket = INetSock.UDP.socket ()
val () = Socket.bind (socket, INetSock.any 5432)

Fails with: unhandled exception: SysErr: Invalid argument [inval]

/Anders
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFijIramWvXn+IM5URArGIAJ9VXyrVonPCMjJqT9Ga3ybZo7xEqwCePeEo
zq4m/+lNGncf8PDPW3YtoVk=
=SfH7
-----END PGP SIGNATURE-----


More information about the MLton mailing list