projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Completata e rivista la trattazione di SO_LINGER.
[gapil.git]
/
gapil.tex
diff --git
a/gapil.tex
b/gapil.tex
index f26a9b8835f1b1bc6cd33ee0ad7a44d57c9bb92c..38967045aa4781ed22c0bddab38c257b15982051 100644
(file)
--- a/
gapil.tex
+++ b/
gapil.tex
@@
-1,9
+1,9
@@
%% gapil.tex
%%
%% gapil.tex
%%
-%% Copyright (C) 2000-200
2
Simone Piccardi. Permission is granted to
+%% Copyright (C) 2000-200
5
Simone Piccardi. Permission is granted to
%% copy, distribute and/or modify this document under the terms of the GNU Free
%% Documentation License, Version 1.1 or any later version published by the
%% copy, distribute and/or modify this document under the terms of the GNU Free
%% Documentation License, Version 1.1 or any later version published by the
-%% Free Software Foundation; with the Invariant Sections being "
Prefazione
",
+%% Free Software Foundation; with the Invariant Sections being "
Un preambolo
",
%% with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
%% license is included in the section entitled "GNU Free Documentation
%% License".
%% with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
%% license is included in the section entitled "GNU Free Documentation
%% License".
@@
-15,11
+15,11
@@
%% gapil.tex: file principale, gli altri vanno inclusi da questo.
%%
\documentclass[a4paper,11pt,twoside]{book}
%% gapil.tex: file principale, gli altri vanno inclusi da questo.
%%
\documentclass[a4paper,11pt,twoside]{book}
-\usepackage[T1]{fontenc}
\usepackage{ae,aecompl}
\usepackage{ae,aecompl}
+\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
%\usepackage[tex4ht, bookmarks=true]{hyperref}
\usepackage[latin1]{inputenc}
%\usepackage[tex4ht, bookmarks=true]{hyperref}
-\usepackage[bookmarks=true]{hyperref}
+\usepackage[bookmarks=true
,plainpages=false,pdfpagelabels,hyperfootnotes=false
]{hyperref}
\usepackage{makeidx}
%\usepackage{booktabs}
%\usepackage{pstcol}
\usepackage{makeidx}
%\usepackage{booktabs}
%\usepackage{pstcol}
@@
-27,17
+27,13
@@
\usepackage{pst-node}
\usepackage{graphicx}
\usepackage[italian]{babel}
\usepackage{pst-node}
\usepackage{graphicx}
\usepackage[italian]{babel}
-%\newcommand{\mkinputlistingplain}[1]{\lstinputlisting[labelstep=0,frame=,indent=1cm]{#1}}{}
-%\newcommand{\mkinputlistinglines}[1]{\lstinputlisting[labelstep=0]{#1}}{}
-
\newcommand{\includecodesnip}[1]{\lstinputlisting[stepnumber=0,frame=]{#1}}{}
\newcommand{\includecodesnip}[1]{\lstinputlisting[stepnumber=0,frame=]{#1}}{}
-\newcommand{\includestruct}[1]{\lstinputlisting[
labelstep
=0]{#1}}{}
+\newcommand{\includestruct}[1]{\lstinputlisting[
stepnumber
=0]{#1}}{}
\newcommand{\includecodesample}[1]{\lstinputlisting{#1}}{}
\newcommand{\includecodesample}[1]{\lstinputlisting{#1}}{}
-
\usepackage{cite}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{cite}
\usepackage{amsmath}
\usepackage{amsfonts}
-\usepackage[hang,bf,footnotesize,it]{caption
2
}
+\usepackage[hang,bf,footnotesize,it]{caption}
\usepackage{listings}
\lstloadlanguages{C++}
\usepackage{color}
\usepackage{listings}
\lstloadlanguages{C++}
\usepackage{color}
@@
-46,6
+42,8
@@
\usepackage{multirow}
%\usepackage{footnote}
%\usepackage{mdwtab}
\usepackage{multirow}
%\usepackage{footnote}
%\usepackage{mdwtab}
+\usepackage{geometry}
+\usepackage{fancyvrb}
\def\tild{\char'176}
\def\tild{\char'176}
@@
-53,11
+51,14
@@
%
% Setting page layout
%
%
% Setting page layout
%
-\oddsidemargin=0.5cm
-\evensidemargin=-0.5cm
-\textwidth=16cm
-\textheight=24.2cm
-\topmargin=-1.cm
+%\oddsidemargin=0.5cm
+%\evensidemargin=-0.5cm
+%\textwidth=16cm
+%\textheight=24.2cm
+%\topmargin=-1.cm
+\geometry{textheight=24.2cm,textwidth=16cm}
+
+
%\setcaptionmargin{2cm}
%\renewcommand{\chaptername}{Capitolo}
%\renewcommand{\contentsname}{Indice}
%\setcaptionmargin{2cm}
%\renewcommand{\chaptername}{Capitolo}
%\renewcommand{\contentsname}{Indice}
@@
-84,10
+85,11
@@
\begin{quote}
\begin{quote}
- Copyright \copyright\ 2000-200
2
Simone Piccardi. Permission is granted to
+ Copyright \copyright\ 2000-200
4
Simone Piccardi. Permission is granted to
copy, distribute and/or modify this document under the terms of the GNU Free
Documentation License, Version 1.1 or any later version published by the
copy, distribute and/or modify this document under the terms of the GNU Free
Documentation License, Version 1.1 or any later version published by the
- Free Software Foundation; with the Invariant Sections being ``Prefazione'',
+ Free Software Foundation; with the Invariant Sections being ``Un preambolo''
+ in ``Prefazione'',
with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
license is included in the section entitled ``GNU Free Documentation
License''.
with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
license is included in the section entitled ``GNU Free Documentation
License''.
@@
-95,12
+97,13
@@
\end{quote}
\clearemptydoublepage
\end{quote}
\clearemptydoublepage
-\ifx\hcode\undefined\else
+
%
\ifx\hcode\undefined\else
\tableofcontents
\tableofcontents
-\fi
+
%
\fi
\clearemptydoublepage
\include{macro}
\clearemptydoublepage
\include{macro}
+\include{preambolo}
\include{pref}
\clearemptydoublepage
\mainmatter
\include{pref}
\clearemptydoublepage
\mainmatter
@@
-129,7
+132,8
@@
% distance from margins for boxedminipage
%\fboxsep=6pt
% distance from margins for boxedminipage
%\fboxsep=6pt
-
+\part{Programmazione di sistema}
+\label{part:progr-di-sist}
\include{intro}
\include{process}
\include{prochand}
\include{intro}
\include{process}
\include{prochand}
@@
-142,13
+146,19
@@
\include{session}
\include{fileadv}
\include{ipc}
\include{session}
\include{fileadv}
\include{ipc}
+\part{Programmazione di rete}
+\label{part:progr-di-rete}
\include{network}
\include{socket}
\include{network}
\include{socket}
-\include{elemtcp}
-\include{simpltcp}
+\include{tcpsock}
+\include{sockctrl}
+\include{othersock}
+\include{sockadv}
\appendix
\appendix
-\include{ipprot}
-\include{tcpprot}
+\part{Appendici}
+\label{part:appendici}
+\include{netlayer}
+\include{trasplayer}
\include{errors}
\include{ringraziamenti}
\include{fdl}
\include{errors}
\include{ringraziamenti}
\include{fdl}