ballpointpenthief wrote:
> Is this group the correct place to ask this question?
No; C has no built-in networking facilities. Since it
appears you're using Windows, try a Windows forum. Or,
since you seem to be using the POSIX bindings, try a POSIX
or Unix forum.
> Since no-one has answered me as yet I will post it here anyway.
> = = = = == = ==== = = =====
>
> I'm trying to program sockets in C, very trivial usage.
>
> Using lcc-win32:
> I get some compilation error about #include being to deeply nested.
>
> Using dev-c++:
> I get linker errors for some commands.
When you find an appropriate forum, you might take time
to elaborate on "some compilation error" and "linker errors."
All anyone can do with the information provided is guess that
you have made "some" mistakes "somewhere."
> I suspect that my lack of knowledge as to what header files and what to
> put in the linker is the cause of my grief.
> The code is straightforward. {socket(), connect(), and suchlike for
> client} & {socket(), bind(), listen(), accept() and suchlike for
> server} that I found on two tutorials.
>
> Where to go? I've wasted quite a lot of time.
You'll waste more if you don't learn to make a better
problem report. "Doctor, it hurts!" "Where does it hurt?"
"In my body." "Take two aspirin and call me in the morning."
Good luck -- and remember: Very few of the people who may
want to help you happen to be mind-readers.
--
Eric Sosman
lid