X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=socket.tex;h=76d948fc62a0b423390d32f4e057cd114d2d6bb6;hp=52f2deaa2fd7f29248a098666250a436d62c6c20;hb=85e7b3ed7aafdb66a7feda150f68649915a5e85d;hpb=0196c376e39fc18f8cd5e7fef47b61264f943faf diff --git a/socket.tex b/socket.tex index 52f2dea..76d948f 100644 --- a/socket.tex +++ b/socket.tex @@ -1,6 +1,6 @@ %% socket.tex %% -%% Copyright (C) 2000-2008 Simone Piccardi. Permission is granted to +%% Copyright (C) 2000-2009 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 "Un preambolo", @@ -728,23 +728,8 @@ lunghezza effettiva del pacchetto cos %% solo come esempio - -% \subsection{Il passaggio delle strutture} -% \label{sec:sock_addr_pass} - -% Come detto nelle funzioni della API dei socket le strutture degli indirizzi -% vengono sempre passate per riferimento usando un puntatore; anche la lunghezza -% della struttura è passata come argomento, ma in questo caso la modalità del -% passaggio dipende dalla direzione del medesimo, dal processo al kernel o -% viceversa. - -% In particolare le tre funzioni \func{bind}, \func{connect} e -% \func{sendto} passano la struttura al kernel, in questo caso è passata -% \textsl{per valore} anche la dimensione della medesima - - -% Le funzioni \func{accept}, \func{recvfrom}, \func{getsockname} e -% \func{getpeername} invece ricevono i valori del kernel +% TODO: trattare i socket RDS, vedi documentazione del kernel, file +% Documentation/networking/rds.txt @@ -1028,6 +1013,11 @@ sez.~\ref{sec:IP_ipv6_notation} per IPv6. \index{socket!definizione|)} + + + + + % LocalWords: socket sez cap BSD SVr XTI Transport Interface TCP stream UDP PF % LocalWords: datagram broadcast descriptor sys int domain type protocol errno % LocalWords: EPROTONOSUPPORT ENFILE kernel EMFILE EACCES EINVAL ENOBUFS raw