01-17-2010 10:03 AM
Hello,
I have a problem with the error codes of the TCP-Networking VIs:
In particular, it is about the TCP-Read-VI. On Windows-OS, when I try to read on a TCP-Connection, and the connection ist closed or interrupted during the read-operation, I get an error 66 (connetion closes) or 62 (connection aborted). However, on a cRio-RT-Controller, interrupting the connection to the communication-partner (by pulling the ethernet plug), the read operation only produces an error 56, that ist "timeout". Therefor, I have no distinction, wether the peer just did not send anything (timeout) or wether my connection is lost.
This behavior is different to what happens, if both communication-peers are running in windows-OS.
What is the reason. Is the TCP/IP-Stack on cRio-RT-OS differently implemented?
Thanks for any hints.
01-18-2010 05:03 AM
01-18-2010 05:03 AM - edited 01-18-2010 05:06 AM
please ignore. happend due to forums hang
01-18-2010 05:04 AM - edited 01-18-2010 05:09 AM
please ignore. happend due to forums hang...again