I am attempting to use VISA to interface with a machine running vxWorks and a windows machine, both using tcpip::Socket.  Using ViWrite works fine on both machines, but when I try to use viRead I get "VI_ERROR_IO".  However, when I set up a VI_EVENT_IO_COMPLETION and use the ViReadAsync, it works fine.  I really need to do synchronous reads, though.  The sample TCP/IP code works fine (connecting to the ni.com FTP port) and I'd like to be able to do reads like that.  Any clues?