networking - "select" in Racket -


i want write event loop single threaded web server deal each request in racket. see there select method in unix can call, there similar in racket api can call? or should write own select method polling ready fds? in advance!

apologies if i'm misunderstanding question, sounds you'll want use tcp-listen on ports; success here create input ports. in order synchronize on multiple open input ports, check out "synchronizable events"; can use 'sync' on whole bunch of open ports simultaneously.

i remiss if failed add there's complete web server included racket; i'm assuming have own reasons wanting re-implement this.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -