I am having a fundamental problem with datasocket. I am running the example vi DS Writer.vi in one machine and DS reader.vi in another. The server is running on the Writer machine. Both machines use Win XP.
I have tried connecting the machines using a ethernet cross-over cable and through two different ethernet switches.
When using one of the switches it works perfectly.
With the X-over cable and other switch, the following happens :
Before I start the vi in the reader machine, the writer runs ok. When I start the reader, the Writer runs ok for a few seconds and then hangs. During this time the reader is timing out repeatedly. (I have modified the reader example so that it does not stop on an error). The writer then starts running properly but it
can take up to 15-20 seconds for the Reader to start getting data. Once it starts getting data it runs fine.
The datasocket setting are default except that all permissions are set to 'everyhost'.
I'm not sure what other information regarding the windows networking settings, LAN card configuration, etc, is relevant to this.
Thanks,
Mike