Thanks for you reply and link,but the job maybe platform-independent,I have read the specification,I think parse the protocal is quite a complex job because I have a few experience in protocal programming, I have search for some
libraries but gain nothing only some Linux-libraries. Is there any way else?

Thanks