본문 바로가기 메뉴 바로가기

두덕리온라인

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

두덕리온라인

검색하기 폼
  • 분류 전체보기 (749)
    • 프로그래밍 (93)
    • 모바일 프로그래밍 (112)
    • 게임 프로그래밍 (16)
    • 시스템 엔지니어링 (20)
    • Linux (7)
    • IT 일반 (19)
    • 전자제품 (86)
    • 게임 (56)
    • 맛집 (48)
    • 인생 (79)
    • 여행 (23)
    • 여자연예인 (85)
    • 결혼정보회사 (11)
    • 연애결혼 (40)
    • 연예인 (3)
    • 자동차 (16)
    • 부동산 (4)
    • 리뷰 (8)
    • 가상화폐 (9)
    • 돈버는이벤트 (8)
    • 건강 (2)
    • 면접후기 (0)
  • 방명록

epoll (1)
Linux epoll 예제

#include #include #include #include #include #include #include #include #include #include #define MAXEVENTS 64 static int make_socket_non_blocking(int sfd) { int flags, s; flags = fcntl(sfd, F_GETFL, 0); if (flags == -1) { perror("fcntl"); return -1; } flags |= O_NONBLOCK; s = fcntl(sfd, F_SETFL, flags); if (s == -1) { perror("fcntl"); return -1; } return 0; } static int create_and_bind(char *po..

시스템 엔지니어링 2016. 4. 6. 11:20
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바