[Boost.asio] daytime server example doesn't work.
Hello, I have a problem with compiling the daytime server example of the Boost.asio tutorial (http://asio.sourceforge.net/asio-0.3.7/doc/tutorial/tutdaytime2src.html). I always get an exception which says "A File which already exists can't be created". Does anyone know the reason of the problem? btw: I'm using Boost 1.33.1 under Windows XP Sp2 with the MS Visual Studio IDE (express) and its compiler. Thanks for your efforts, Schrotti.
Schrotti writes:
I have a problem with compiling the daytime server example of the Boost.asio tutorial
Is this a compile problem or a runtime problem? You say "compiling" here but talk about an exception below.
(http://asio.sourceforge.net/asio-0.3.7/doc/tutorial/tutdaytime2src.html). I always get an exception which says "A File which already exists can't be created". Does anyone know the reason of the problem? btw: I'm using Boost 1.33.1 under Windows XP Sp2 with the MS Visual Studio IDE (express) and its compiler.
If this is a runtime problem: it's hard to say what's happening, but perhaps you already have another program listening on port 13? Try changing the program to use a different port. Cheers, Chris
participants (2)
-
Christopher Kohlhoff
-
Schrotti