The structure sockaddr_in is defined in in.h....try #including
<netinet/in.h>

HTH,
--Indra.

----------
From: Riddhi Barman <[EMAIL PROTECTED]>
To: ILUG-CAL <[EMAIL PROTECTED]>
Subject: [ilug-cal] Problem with Socket Programming
Date: Tuesday, July 13, 1999 12:19 PM

Hi,
    The following code snippet is causing errors during compilation. For
some reason the structure sockaddr_in is not being supported, (the compiler
reports size of my_addr not known at line 10) whereas this seems to be
defined in socket.h !
Can anybody help ?

Riddhi


--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/faq/listfaq.html

Reply via email to