Developing a server
Thai Dang Vu
thaid@Cybersoft-VN.com
Thu Apr 4 20:57:00 GMT 2002
If you have any trouble, feel free to post it here (even though it's
sometimes a silly question). I'm a newbie in C and C++ (in fact I
learned C very long ago, but I used turbo C 2.0 at that time and I
didn't know anything about the so-called socket ...).
Did you have any example about socket programming with standard C? I saw
some on the Internet.
Hope you and I will progress in C and C++ :)
-----Original Message-----
From: snodx@hotmail.com [mailto:snodx@hotmail.com]
Sent: Friday, April 05, 2002 11:16 AM
To: gcc-help@gcc.gnu.org
Subject: Re: Developing a server
ALRIGHT ALRIGHT ALRIGHT my mistake.
The question I am posting arose because I have
not been successful so far in developing a socket
based C program using GCC.
For example once I tried to include the netdb.h header file
in a 'C' program and tried to use several of its functions,
but at compile time I got several errors.
This leads me to believe that I have to pass certain compiler
and linker options while compiling the program, just as
you do -lvga or -lvgagl while trying to use the vga.h
header file in a 'C' code.
I am not getting much of documentation on how to
use GCC. Most of the time I have to rely on the
mailing list.
IF ANYONE CAN POINT OUT A GOOD DOCUMENTATION INCLUDING
WHAT COMPILER AND LINKER OPTIONS TO PASS WHILE USING
SPECIFIC HEADER FILES, I promise I wont show my face
here again unless I am in really serious trouble.
Sorry for the long-winded story here.
SNODX
More information about the Gcc-help
mailing list