im new to iOS and objective-c, but im trying to use GCDAsyncSocket I'm using it to contact TCP/IP server for the whole application, in each viewController i want to start sending and receiving from/to server, so each time i alloc new instance of cocaSocket, and it send to the server like im new client.
so how can i make sure that one instance of cocaSocket could be applied to the whole application.
thanks for any response !