From 7be945d55e417b2f1fb35dccf508f5ee698d1a16 Mon Sep 17 00:00:00 2001 From: Giovanni Di Grezia Date: Sun, 23 Mar 2014 19:59:30 +0100 Subject: [PATCH] file da vedere mentre ero in classe --- .DS_Store | Bin 6148 -> 6148 bytes da_vedere | 16 +++++++++++++++- test/test.c | 14 ++++++++++---- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/.DS_Store b/.DS_Store index f2f8171cb887fa885ef9245370aeb306f2b60120..e0d8cdad1d1080cc36250048b659a486ef16ba44 100644 GIT binary patch delta 57 zcmZoMXfc=|&e%4wP;8=}A|vC(0Ba!8qq6a-68pptrkmM01UMMmHa`5$Jeglamz9x$ Mf#JYrTam-e01yTd#Q*>R delta 104 zcmZoMXfc=|&e%S&P;8=}A|unp0PD#HA}ka86%B+Lj2QG7au_lhN`NqjA(bJXAqmJ! z2hynwc?>B)b|OPwT1s(pQht68v+1UMMmH*WmSJeglamyuz!qsU?Ai480O DdtMv8 diff --git a/da_vedere b/da_vedere index c40d1d3..1e92fc6 100644 --- a/da_vedere +++ b/da_vedere @@ -10,4 +10,18 @@ FLAG2 = -o clear: rm -f -- per esempio -vedi union, esercizi stringa, file, little e bigendian, dati esadecimali. + + +struct ind_addr +struct sockaddr_in castato in struct sockaddr + +socket.h +funzione int socket().. + int connect + int bind + int listen + + + esercizio con scambo dati tra due processi mediante file e comunicazione mediante segnali + + diff --git a/test/test.c b/test/test.c index a79ae0a..59a2288 100644 --- a/test/test.c +++ b/test/test.c @@ -1,12 +1,18 @@ -#include +#include +#include +#include +#include +#include #include +#include int main (int index, char** in_data){ - char buf[50]; - fscanf(stdin,"%10[^\n]",buf); - fprintf(stdout,"%s",buf); + + + + return 0;