# Server limitations on network I/O

Andreas Bogk (andreas@artcom.de)
21 Jul 1997 18:57:08 +0200

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    >>>>> "Michael" == Michael Brundage <brundage@laurel.ipac.caltech.edu> writes:

        Michael> Couple o' questions: (1) What is the range of ASCII
        Michael> values which the server will accept (or output) through
        Michael> non-binary I/O?

    Jason, this applies to your problem too. The server uses the isgraph
    macro to test wether the current character is printable. It
    additionally checks for whitespace. The meaning of isgraph depends on
    the locale on some systems. Usually, isgraph is true if it's argument
    is above 32 and less than or equal to 127.

    The best approach for internationalization is to replace this function
    with a hand-rolled.

    Andreas

    --
    Never underestimate the value of fprintf() for debugging purposes.