On Saturday, 16 November 2013 at 14:28:45 UTC, bearophile wrote: > Jeroen Bollen: > >> Why is that? > > It's caused by the cast. The solution is to use an auxiliary > value inside the main, or remove the cast. > > Bye, > bearophile Same error, but "is not callable using argument types (TcpSocket)"...