i am a beginner in objective c
and iphone
and i have undertaken a project of 'client
server program' . but i m not having any idea about sockets
in iphone . can anyone plz
suggest me some books or links from where i can easily understand the sockets
and their
programming in objective c. i recently studied this tutorial but didn't find it helpful
thanks.
Socket Programming in C/C++ What is socket programming? Socket programming is a way of connecting two nodes on a network to communicate with each other. One socket(node) listens on a particular port at an IP, while the other socket reaches out to the other to form a connection.
Well, it is not hard but it requires experience and some googling. For example setting various time-outs or tricks how to prevent blocking calls. Primitive sockets are very simple but all calls are blocking and this will make user application unresponsive.
The client in socket programming must know which information? Explanation: The client in socket programming must know IP address of Server as it has to use that IP address in order to initialize the socket class constructor. That is how the client requests a connection to the server.
Apple doc's are best to learn any concept related to iOS. Setting Up Socket Streams, Networking and Multitasking
Check the below link,
Example socket programming in iphone
Socket programming in iPhone
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With