I\'ve opened a TCP socket server (I\'ve omitted a few stuff, it is taken from here
sockfd = socket(p->ai_family, p->ai_socktype, p->ai_p
The address of the server is the one that was passed to the successfull call to bind() (as shown in the source you linked).
bind()