Problem running the ping example from "Parallel and Concurrent Programming in Haskell"

hello I am trying out the examples in Chapter 14 of the book, and was able to install and build the parconc-examples package fine. However when I try running the (very first example) ping program I get the following error: ping.exe: bind: failed (Cannot assign requested address (WSAEADDRNOTAVAIL)) It appears that the failure is in the main function: distribMain (\_ -> master) Main.__remoteTable Any ideas? thanks PS I am running Haskell Platform 7.10.2-a on Windows 7

Sounds like the requested port is already taken. Try changing the port
number
On Dec 11, 2015 1:15 AM, "s nedunuri"
hello I am trying out the examples in Chapter 14 of the book, and was able to install and build the parconc-examples package fine. However when I try running the (very first example) ping program I get the following error:
ping.exe: bind: failed (Cannot assign requested address (WSAEADDRNOTAVAIL))
It appears that the failure is in the main function: distribMain (\_ -> master) Main.__remoteTable
Any ideas?
thanks PS I am running Haskell Platform 7.10.2-a on Windows 7
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

Ok sure, but any ide what to change it to? Its currently set to 44444 in DistribUtils.hs (a utility module that comes with the code) and I tried various numbers in Windows preferred range from 49152 upwards, and 0 but to no avail. thanks On 12/11/2015 4:43 AM, Atze van der Ploeg wrote:
Sounds like the requested port is already taken. Try changing the port number
On Dec 11, 2015 1:15 AM, "s nedunuri"
mailto:ss.nedunuri@gmail.com> wrote: hello I am trying out the examples in Chapter 14 of the book, and was able to install and build the parconc-examples package fine. However when I try running the (very first example) ping program I get the following error:
ping.exe: bind: failed (Cannot assign requested address (WSAEADDRNOTAVAIL))
It appears that the failure is in the main function: distribMain (\_ -> master) Main.__remoteTable
Any ideas?
thanks PS I am running Haskell Platform 7.10.2-a on Windows 7
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org mailto:Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe

On Dec 11, 2015 1:15 AM, "s nedunuri"
hello I am trying out the examples in Chapter 14 of the book, and was able to install and build the parconc-examples package fine. However when I try running the (very first example) ping program I get the following error:
ping.exe: bind: failed (Cannot assign requested address (WSAEADDRNOTAVAIL))
On 11 December 2015 at 21:43, Atze van der Ploeg
Sounds like the requested port is already taken. Try changing the port number
Atze, I think you're thinking of WSAEADDRINUSE. S, the error sounds like the program is trying to bind a socket to a non-existent or invalid address or port. If the program gets its configuration for these things from command line arguments, config files or environment variables, I would check there first. -- Thomas Koster
participants (3)
-
Atze van der Ploeg
-
s nedunuri
-
Thomas Koster