Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

best way to start learning socket programming in objective c [closed]

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.

like image 601
Eljay Avatar asked Jun 03 '11 05:06

Eljay


People also ask

Can socket programming be done in C?

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.

Is socket programming hard?

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.

Which information is needed for socket programming?

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.


1 Answers

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

like image 128
Jhaliya - Praveen Sharma Avatar answered Oct 25 '22 08:10

Jhaliya - Praveen Sharma