Hi,
Is there any way to have a class instance call a callback function ?
I would like to encapsulate socket communication in a class method. I would call this method (which would make the connection - if possible - send data and retrieve the result).
The result of this method would be the exection of a Success or Failure method.
What would be the best approach to this ?
Thanks
Is there any way to have a class instance call a callback function ?
I would like to encapsulate socket communication in a class method. I would call this method (which would make the connection - if possible - send data and retrieve the result).
The result of this method would be the exection of a Success or Failure method.
What would be the best approach to this ?
Thanks