其实开始用winsock到现在是很久了,不过今天才把winsock控件整理上来。
直接在"运行"中运行 "regsvr32 mswinsck.ocx" 注册就可以,注意哦,是mswinsck 没有o哦。