ACE第二个练习:简单的Web服务
摘要:
#include "ace/SOCK_Acceptor.h"#include "ace/SOCK_Stream.h"#include "ace/Mem_Map.h"#include "ace/Auto_Ptr.h"extern char* get_url_pathname(ACE_SOCK_Stream* peer){ return "test.txt";}int ACE_TMAIN(int argc, ACE_TCHAR* argv[]) { ACE_INET_Addr server_addr 阅读全文
posted @ 2012-03-04 11:56
几百人有爱
阅读(241)
评论(0)
推荐(0)
浙公网安备 33010602011771号