wakeuky - 2013-11-13

I am connecting to an S300 series Siemens PLC via libnodave using a TCP Socket connection. I am trying to start and stop the PLC using libnodave, in other projects the following is used to start or stop the plc run status.

int daveStatus = daveStart(dc);

This is not working for me. I am receiving the following error:
Error 33794
case 0x8402: return "CPU already in RUN or already in STOP ?";

In all of the C++ examples that I sorted through the only time "daveStart()" is used is in applications which the connection is opened using MPI not TCP. Could anyone please confirm for me that daveStart() can be used over a TCP Connection?