I actually use the Datasocket DS_Open() function.
In the CallBack feald I put the name of my function CallBack.
However, I work in dstp connection, with a DataSocket Server.
My problem is that the CallBack function is passed is infinitely called telling me that there is a message waiting in the DataSocket (DS_EVENT_UPDATE).
I don't understand why it do that.
Moreover, when the other client send a message, the first one receive it and call the CallBack function recursively with the right message... but never stop !
I hop you would be able to help me.
Sincerely yours.