carldejager / tuioframework

Automatically exported from code.google.com/p/tuioframework
0 stars 0 forks source link

close socket on dealloc #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Sockets are not closed properly.
1. When you want to change port while the app is running the easiest way is to 
release the TuioClient and initialize a new one.
2. When you try to change back to the original port the port is not available.

What is the expected output? What do you see instead?

Change the port port and back should be possible

just add    CFSocketInvalidate(cfSocket); to dealloc in TuioClient.m

Original issue reported on code.google.com by toc...@hotmail.de on 12 Dec 2010 at 5:43