Closed GoogleCodeExporter closed 8 years ago
stephen,您好! 我是一名学生,最近想用spserver iocphttp做个web server, virtual void handle( SP_HttpRequest * request, SP_HttpResponse * response ) 这个怎么改才能实现异步读文件,在发送数据呢? 还是需要另外写?代码包装的很深,不知道从哪做起?请指�� �下!谢谢
Original issue reported on code.google.com by mkchu...@yahoo.co.jp on 7 May 2009 at 12:35
mkchu...@yahoo.co.jp
spserver 使用线程池来处理业务,目的就是希望在处理业务的时候能�� �用同步的方式,可以简化 业务的实现代码。 如果希望用异步的方式来处理业务,那么不需要使用 spserver ,直接用 iocp 就够了。
Original comment by stephen....@gmail.com on 7 May 2009 at 3:05
stephen....@gmail.com
Original issue reported on code.google.com by
mkchu...@yahoo.co.jp
on 7 May 2009 at 12:35