Hi all:
I have check the thread which was talking about "end of file" problem.
I have the same issue and I have no idea about when the socket be closed by program.
The author said that he fixed the bug after debugging finally but he didn't show the way to solve the problem and where was the bug is~
Can some body give me some hint about it ?
Thanks
 

Cheer~
 
Cheng Mo
 
Beijing Jaeger Communication Electronic Technology Co., Ltd.
 
Addr: Floor2B Dingjun Plaza No.75 Suzhou Street, 100080, Beijing, China
Mail: mcheng@pbicn.com