server with socket - ip listening

hello,
I'm writing a Class to make a simple server with sockets.
So I need to learn what are ip-adresses that my server is listening.
I follow sock_addr structure but I don't understand how to make it.
may you help me please?
thank you.
We've posted sample servers before, you can search the site. But the search facility isn't very good.

You could search the web with "tcp server example c".

If you don't really understand IP network programming, this is a good place to start.
http://www.beej.us/guide/bgnet/output/html/multipage/index.html
Topic archived. No new replies allowed.