How to open sockets?

I used the front sockets on older Unix, but now calls are slightly different and I wonder:

Can anyone show me a simple C code for opening a socket (for the portion & client)?

I would like to start here:

https://developer.Apple.com/library/Mac/documentation/NetworkingInternet/concept ual/NetworkingTopics/Articles/UsingSocketsandSocketStreams.html

Tags: iOS Developer

Similar Questions

Maybe you are looking for