socket compilation (Solaris)

Mike Flouris flouris at csi.forth.gr
Wed Jan 27 12:37:17 EET 1999


Anastasios Mavroudeas wrote:
> 
>         Avtegrapsa tov linux source kodika se eva sun lipov kai etre3a tov cc
> ... alla dev katafervei va kavei compile ... bgazei problhmata sthv
> /sys/socket.h . Av 8umame kala otav kapote eixa kavei to avtistoixo
> eprepe va sumperilabw kai kapoia alla libraries kata to compilation kati
> sav -lsocket . Alla auto faivetai oti dev eivai arketo. Av uparxei
> kapoios me empiria se auto to 8ema kai 8hmate kamoia parapavisia
> biblio8hkoula ... 8a htav megalh boh8ia.

/Solaris mode

Loipon libraries : -L/usr/lib -lsocket -lnsl
Epishs merika includes poy isws xreiasteis :

#include <fcntl.h>
#include <unistd.h>             /* Read/write definitions */
#include <sys/time.h>
#include <sys/types.h>          /* select, FDXX definition */
#include <sys/socket.h>         /* Socket definition */
#include <netinet/in.h>         /* Internet socket definition */
#include <netinet/tcp.h>        /* TCP_NODELAY definition */
#include <sys/stat.h>
#include <netdb.h>



Mike &
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list