11.01.2015 Views

I/O Multiplexing: select and poll

I/O Multiplexing: select and poll

I/O Multiplexing: select and poll

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Solutions to the Attack<br />

•When a server is h<strong>and</strong>ling multiple<br />

clients the server can never block in a<br />

function call related to a single client<br />

•Possible solutions:<br />

–Use nonblocking I/O (Ch. 15)<br />

–separate thread/process for each client<br />

–timeout on I/O operations (Sec. 13.2)<br />

34

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!