#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초지나서
출력되어 버려요.. 원인이 뭔지 고수님 좀 알려주세요.....