you cannot use winsock to read data from computer ports like serial, parallel, usb....
winsock is for tcp/ip.

look under OLE