{
    "mode": "perldoc",
    "parameter": "POE::Driver::SysRW",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/POE%3A%3ADriver%3A%3ASysRW/json",
    "generated": "2026-06-13T17:50:03Z",
    "synopsis": "\"SYNOPSIS\" in POE::Driver illustrates how the interface works. This module is merely one\nimplementation.",
    "sections": {
        "NAME": {
            "content": "POE::Driver::SysRW - buffered, non-blocking I/O using sysread and syswrite\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "\"SYNOPSIS\" in POE::Driver illustrates how the interface works. This module is merely one\nimplementation.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This driver implements POE::Driver using sysread and syswrite.\n",
            "subsections": []
        },
        "PUBLIC METHODS": {
            "content": "POE::Driver::SysRW introduces some additional features not covered in the base interface.\n\nnew [BlockSize => OCTETS]",
            "subsections": [
                {
                    "name": "new",
                    "content": ""
                },
                {
                    "name": "syswrite",
                    "content": "\"BlockSize\", which indicates the maximum number of OCTETS that will be read at one time.\n\n\"BlockSize\" is 64 kilobytes (65536 octets) by default. Higher values may improve performance in\nstreaming applications, but the trade-off is a lower event granularity and increased resident\nmemory usage.\n\nLower \"BlockSize\" values reduce memory consumption somewhat with corresponding throughput\npenalties.\n\nmy $driver = POE::Driver::SysRW->new;\n\nmy $driver = POE::Driver::SysRW->new( BlockSize => $blocksize );\n\nDrivers are commonly instantiated within POE::Wheel constructor calls:\n\n$[HEAP]{wheel} = POE::Wheel::ReadWrite->new(\nInputHandle => \\*STDIN,\nOutputHandle => \\*STDOUT,\nDriver => POE::Driver::SysRW->new(),\nFilter => POE::Filter::Line->new(),\n);\n\nApplications almost always use POE::Driver::SysRW, so POE::Wheel objects almost always will\ncreate their own if no Driver is specified.\n"
                },
                {
                    "name": "All Other Methods",
                    "content": "POE::Driver::SysRW documents the abstract interface documented in POE::Driver. Please see\nPOE::Driver for more details about the following methods:\n\nflush\nget\ngetoutmessagesbuffered\nput\n"
                }
            ]
        },
        "SEE ALSO": {
            "content": "POE::Driver, POE::Wheel.\n\nAlso see the SEE ALSO section of POE, which contains a brief roadmap of POE's documentation.\n\nAUTHORS & COPYRIGHTS\nPlease see POE for more information about authors and contributors.\n",
            "subsections": []
        }
    },
    "summary": "POE::Driver::SysRW - buffered, non-blocking I/O using sysread and syswrite",
    "flags": [],
    "examples": [],
    "see_also": []
}