Question about dsfml.system.err
Konstantin Kutsevalov via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Nov 8 08:26:04 PST 2016
I need to see errors from dsfml.system.err, but it doesn't write
to terminal as I expected.
The general problem is that I cannot listen any port by
tcplistener. And listen method is:
Status accept(TcpSocket socket)
{
import dsfml.system.string;
Status toReturn = sfTcpListener_accept(sfPtr, socket.sfPtr);
err.write(dsfml.system.string.toString(sfErr_getOutput()));
return toReturn;
}
so, as you can see, there is "err.write". I need to see which
error is wrining ro "err"...
Is it possible to redeclate "err" File() object?
:(
More information about the Digitalmars-d-learn
mailing list