I can't seem to find a library in /etc/lib that is anything to do with sockets. On Solaris it's called socket.a I think.
How do we MacOSX users get to compile programs using Berkeley Sockets -help me because my Solairis Mates are mocking OSX!
I have got programs to compile properly but the sockets calls don't actually work. Do I need to include some library to make it work.
I have absolutely no problems with the application compiling and linking, I get a runnable application, except whenever it tried to call bind() the application fails...
Running it as root to avoid potential refusal of sockets didn't help either.
What could be causing for this? I have run out of ideas....
Thank you for all your help. I have now got the problem sorted - I was leaving some parts of some data structures incorrectly filled out.
I appologise also for not responding sooner because for some reason I wasn't allowed to re-post something to do with cookie problems...