AnsweredAssumed Answered

Socket shutdown

Question asked by Camilo A Camacho D on Jan 23, 2013
Latest reply on Jan 24, 2013 by Andrey Butok

HI everybody, I´m having trouble again with the TCP functions. This time I need to restart a tcp connection and then I need to re-established it again. The first that came into my mind was to use the sutdown function. It worked Ok because I lost connection between my application and my PC. My problem is when I try to re-establish the connection, i need to use: RTCS_create(); but I don´t know why it doesn´t responds RTCS_OK, so the connection is never created. I tried restarting my task but the same happened, RTCS_create() returned a value different from zero. for example 1704 and 1300 which I don´t know what do they mean. Thank you very much, best regards.

Outcomes