Using multiple sockets

Hi all!!, im doing the TCP library and i need that the app use multiple sockets. Can i use the same Handler to all of them?, how i should manage the different sockets?. I think that having an exclusive handler for each one of them is a good idea, if i do that ill have the same code repeated like eight times!.

Does anyone knows this one?. Thank you so much for advance.

I think the purpose of the “Context” parameter is to support this kind of thing…?

I though so, but unfortunetly i couldnt find any examples. Can you give me anything?.

I managed to do it. I needed to use the “->channel” pointer from the Handler.

Thank u for advance.