Hi, i am trying to modify the Sockets example that comes with the SDK,
in the example, it simply send what ever is typed to the server.
I want to make it send a constant message to the server instead of waiting for input.
I tried to use the iSocketEngine.WriteL(), but i just couldn't figure out how to use it.
i tried it this way
but the error was like this
error C2664: 'CSocketsEngine::WriteL' : cannot convert parameter 1 from 'const TLitC<S>' to 'const TDesC8 &'
Reason: cannot convert from 'const TLitC<S>' to 'const TDesC8'
No constructor could take the source type, or constructor overload resolution was ambiguous
How can i solve this?
thank you in advance