newtype
::: newtype의 지식창고 :::
newtype
전체 방문자
605,344
오늘
5
어제
7
  • 분류 전체보기 (390)
    • it (212)
      • c (43)
      • VB (5)
      • csharp (2)
      • java (2)
      • etc (32)
      • www (48)
      • emb (25)
      • win (4)
      • db (20)
      • sqlce (7)
      • devOps (8)
      • gmap (6)
      • python (2)
      • cygwin (2)
      • go (5)
      • ruby (1)
    • 명언 (10)
    • 모임 (18)
      • 붕주회 (3)
      • 신흥컴정 (14)
      • 웹20기 (1)
    • 사진 (8)
    • 불펌 (29)
    • 막글 (98)
    • 게임 (6)
    • 여행 (8)

블로그 메뉴

  • 홈
  • 태그
  • 방명록
  • 관리

공지사항

  • whoami
03-26 16:54
hELLO · Designed By 정상우.
newtype

::: newtype의 지식창고 :::

it/c

Simple Http Server

2017. 6. 8. 08:46

SimpleHttpServer

자세한 소스는 github을 참고하세요.
https://github.com/lmk/SimpleHttpServer

  • very simple http server
  • default port: 8080
    • modify source here
  • support: linux g++ 4.9.2

How to use

block server

HttpServer httpServer;

httpServer.Init(5, NULL);
httpServer.Run();

non-block

NBHttpServer* httpServer = NBHttpServer::getInstance();
httpServer->Init(5);
httpServer->Start();
sleep(60);
httpServer->Stop();
반응형
저작자표시
    'it/c' 카테고리의 다른 글
    • vscode 에서 원격 디버깅
    • FindMSSQL
    • OpenSSL 을 사용한 RSA
    • Visual Leak Detector 를 사용하여 Leak을 감지하는 방법.
    C++, http, server
    newtype
    newtype
    지극히 개인적인 지식의 창고
    댓글쓰기
    다음 글
    FindMSSQL
    이전 글
    OpenSSL 을 사용한 RSA

    티스토리툴바