I am tring to make socket connection and I am using Active object. The problem is when I call socket.Connect(), it never returns error in RunL method. I even tried the sockets example present in SDK. You specify wrong IP address or port number, it always says Connecting and then Connected. But there is no connection established as such.
I am sure everybody must have faced similar problem. Why Connect returns KErNone even if it's not able to connect to server? How can I make sure that it either times out or give me some error when wrong ip or port is provided. I am using timer for Connect, but it never times out and RunL is called with KErrNone.
Any help in this regard is highly appreciated.