Monday, November 08, 2010 at 12:06 AM.
system.verbs.builtins.tcp.listenStream
on listenStream (port, depth, callback, refcon = 0, ip=0) { <<Change Notes <<1/16/00; 12:17:04 PM by RAB <<Support for IP address control on Windows. <<Tue, Apr 25, 2000 at 11:27:05 PM by AR <<Support for IP address control on Mac OS PPC. on kernelCall (port, depth, callback, refcon, addr) { kernel (tcp.listenStream)}; on oldKernelCall (port, depth, callback, refcon) { kernel (tcp.listenStream)}; if date.versionLessThan (Frontier.version (), "6.2a3") { return (oldKernelCall (port, depth, callback, refcon))} else { local (addr); if (ip != 0) { if system.environment.isMac and (date.versionLessThan (Frontier.version (), "6.2b8") or (not Frontier.isPowerPC ())) { addr = 0} else { addr = tcp.addressEncode (ip)}} else { addr = 0}; return (kernelCall (port, depth, callback, refcon, addr))}}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.