I am trying to make a client side which communicates with the server using socket. I decided to use CFSocket.
My application recognizes CFSocketRef but not CFSocket;
If the class name is CFSocket then what the heck is CFSocketRef?
Anyone has an example or sample that shows how to use CFSOcket, or any other socket class?
There is no class named CFSocket. All of the various CFSocketWhatever functions work with a variable of type CFSocketRef which is declared as a pointer to a C structure. This is all C, not Objective-C. You are now working with pointers, not classes.
You don't use retain and release. You now use CFRetain(mySocketRefVar) and CFRelease(myCFSocketRefVar).
thanks again great help on both my questions.
I better learn c programming, I don't even know what a pointer is.
I've done only object oriented programming.