the listen on multi ports doesn't work well thats not the problem. I tried storing it in a vector/map or just Client* m_client; in a private slot in the class not a Qt slot, what else can i do?
the listen on multi ports doesn't work well thats not the problem. I tried storing it in a vector/map or just Client* m_client; in a private slot in the class not a Qt slot, what else can i do?
yeah, and it was working before with it
Well the code is that uses it is not correct. Of course you can continue this path and wonder why your connections break or get rid of the smart pointer which is completely useless here. You get ownership of the socket so nobody is going to delete it behind your back.
this has been fixed. boost shared pointers ftw
Bookmarks