>> Edit article
이름
제목
패스워드
: : : : #include <stdio.h> : : main() : { : : : int i; : : printf("Content-type: multipart/x-mixed-replace;boundary=TestBoundary"); : for(i = 1; i <= 10; i++) : { : : printf("--TestBoundary"); : printf("Content-type: text/plain"); : printf("count: %d", i); : sleep(1); : } : printf("--TestBoundary--"); : : } : : 이것은 1초마다 숫자가 출력되는 것인데요.. 이것이 한꺼번에 10초지나서 : : 출력되어 버려요.. 원인이 뭔지 고수님 좀 알려주세요..... 원래 ... 그런 겁니다. 웹이라는 놈은...-_-;;; 실행이 끝난 후에야 버퍼링한 결과를 클라이언트로 보내 주지요.--.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved