#18 Connect message for hub4com

closed
nobody
None
5
2010-06-07
2010-06-02
Henrik Maier
No

I like to see a connect message logged on the console once hub4com has established a TCP connection.

A suggestion would be to change file plugins\tcp\comport.cpp, function ComPort::OnConnect() and add a simple output like in this code snippet:

---------------------------------
void ComPort::OnConnect()
{
//PATCH START: Added OnConnect message
cout << "Connected" << endl;
//PATCH END
_ASSERTE(isConnected == FALSE);
_ASSERTE(isDisconnected == FALSE);
_ASSERTE(hSock != INVALID_SOCKET);
...
---------------------------------

Discussion

  • Added to CVS.

     
    • status: open --> closed