%% gapil.tex
%%
-%% Copyright (C) 2000-2003 Simone Piccardi. Permission is granted to
+%% Copyright (C) 2000-2006 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
-%% 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".
\usepackage[T1]{fontenc}
\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{cite}
\usepackage{amsmath}
\usepackage{amsfonts}
-\usepackage[hang,bf,footnotesize,it]{caption2}
+\usepackage[hang,bf,footnotesize,it]{caption}
\usepackage{listings}
\lstloadlanguages{C++}
\usepackage{color}
\usepackage{multirow}
%\usepackage{footnote}
%\usepackage{mdwtab}
+\usepackage{geometry}
+\usepackage{fancyvrb}
\def\tild{\char'176}
%
% 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}
\begin{quote}
- Copyright \copyright\ 2000-2003 Simone Piccardi. Permission is granted to
+ Copyright \copyright\ 2000-2004 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
- 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''.
\clearemptydoublepage
\include{macro}
+\include{preambolo}
\include{pref}
\clearemptydoublepage
\mainmatter
% distance from margins for boxedminipage
%\fboxsep=6pt
-
+\part{Programmazione di sistema}
+\label{part:progr-di-sist}
\include{intro}
\include{process}
\include{prochand}
\include{session}
\include{fileadv}
\include{ipc}
+\part{Programmazione di rete}
+\label{part:progr-di-rete}
\include{network}
\include{socket}
\include{tcpsock}
-%\include{simpltcp}
+\include{sockctrl}
+\include{othersock}
+\include{sockadv}
\appendix
+\part{Appendici}
+\label{part:appendici}
\include{netlayer}
\include{trasplayer}
\include{errors}