refman.toc
14.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
\select@language {spanish}
\contentsline {chapter}{\numberline {1}P\IeC {\'a}gina principal}{1}{chapter.1}
\contentsline {chapter}{\numberline {2}Client}{3}{chapter.2}
\contentsline {chapter}{\numberline {3}Fichero de configuraci\IeC {\'o}n}{5}{chapter.3}
\contentsline {section}{\numberline {3.1}Sint\IeC {\'a}xis}{5}{section.3.1}
\contentsline {section}{\numberline {3.2}Par\IeC {\'a}metros}{5}{section.3.2}
\contentsline {subsection}{\numberline {3.2.1}bind-\/ip}{5}{subsection.3.2.1}
\contentsline {subsection}{\numberline {3.2.2}port}{5}{subsection.3.2.2}
\contentsline {section}{\numberline {3.3}Ejemplos}{5}{section.3.3}
\contentsline {chapter}{\numberline {4}H\discretionary {-}{}{}O\discretionary {-}{}{}W\discretionary {-}{}{}T\discretionary {-}{}{}O}{7}{chapter.4}
\contentsline {section}{\numberline {4.1}Descripci\IeC {\'o}n del protocolo}{7}{section.4.1}
\contentsline {subsection}{\numberline {4.1.1}Modo en texto llano}{7}{subsection.4.1.1}
\contentsline {subsection}{\numberline {4.1.2}Env\IeC {\'\i }o/\discretionary {-}{}{}Recepci\IeC {\'o}n de mensajes}{7}{subsection.4.1.2}
\contentsline {section}{\numberline {4.2}Compilaci\IeC {\'o}n}{8}{section.4.2}
\contentsline {subsection}{\numberline {4.2.1}Opciones de compilaci\IeC {\'o}n}{8}{subsection.4.2.1}
\contentsline {subsection}{\numberline {4.2.2}Flags de compilaci\IeC {\'o}n y librer\IeC {\'\i }as}{8}{subsection.4.2.2}
\contentsline {section}{\numberline {4.3}Ejemplos}{8}{section.4.3}
\contentsline {subsection}{\numberline {4.3.1}Programar un servidor}{8}{subsection.4.3.1}
\contentsline {subsection}{\numberline {4.3.2}Programar un cliente}{8}{subsection.4.3.2}
\contentsline {chapter}{\numberline {5}Server}{9}{chapter.5}
\contentsline {chapter}{\numberline {6}\IeC {\'I}ndice de clases}{11}{chapter.6}
\contentsline {section}{\numberline {6.1}Lista de clases}{11}{section.6.1}
\contentsline {chapter}{\numberline {7}Indice de archivos}{13}{chapter.7}
\contentsline {section}{\numberline {7.1}Lista de archivos}{13}{section.7.1}
\contentsline {chapter}{\numberline {8}Documentaci\IeC {\'o}n de las clases}{15}{chapter.8}
\contentsline {section}{\numberline {8.1}Referencia de la Clase Server}{15}{section.8.1}
\contentsline {subsection}{\numberline {8.1.1}Descripci\IeC {\'o}n detallada}{16}{subsection.8.1.1}
\contentsline {subsection}{\numberline {8.1.2}Documentaci\IeC {\'o}n del constructor y destructor}{16}{subsection.8.1.2}
\contentsline {subsubsection}{\numberline {8.1.2.1}Server}{16}{subsubsection.8.1.2.1}
\contentsline {subsection}{\numberline {8.1.3}Documentaci\IeC {\'o}n de las funciones miembro}{16}{subsection.8.1.3}
\contentsline {subsubsection}{\numberline {8.1.3.1}free\discretionary {-}{}{}R\discretionary {-}{}{}A\discretionary {-}{}{}M}{16}{subsubsection.8.1.3.1}
\contentsline {subsubsection}{\numberline {8.1.3.2}get\discretionary {-}{}{}N\discretionary {-}{}{}Workers}{16}{subsubsection.8.1.3.2}
\contentsline {subsubsection}{\numberline {8.1.3.3}get\discretionary {-}{}{}Started\discretionary {-}{}{}Threads}{16}{subsubsection.8.1.3.3}
\contentsline {subsubsection}{\numberline {8.1.3.4}get\discretionary {-}{}{}Stopped\discretionary {-}{}{}Threads}{16}{subsubsection.8.1.3.4}
\contentsline {subsubsection}{\numberline {8.1.3.5}request\discretionary {-}{}{}Exit}{16}{subsubsection.8.1.3.5}
\contentsline {subsubsection}{\numberline {8.1.3.6}set\discretionary {-}{}{}N\discretionary {-}{}{}Workers}{17}{subsubsection.8.1.3.6}
\contentsline {subsubsection}{\numberline {8.1.3.7}start\discretionary {-}{}{}Server}{17}{subsubsection.8.1.3.7}
\contentsline {subsection}{\numberline {8.1.4}Documentaci\IeC {\'o}n de los datos miembro}{17}{subsection.8.1.4}
\contentsline {subsubsection}{\numberline {8.1.4.1}n\discretionary {-}{}{}Workers}{17}{subsubsection.8.1.4.1}
\contentsline {subsubsection}{\numberline {8.1.4.2}shutdown\discretionary {-}{}{}Server}{17}{subsubsection.8.1.4.2}
\contentsline {subsubsection}{\numberline {8.1.4.3}ss}{17}{subsubsection.8.1.4.3}
\contentsline {subsubsection}{\numberline {8.1.4.4}started\discretionary {-}{}{}Threads}{17}{subsubsection.8.1.4.4}
\contentsline {subsubsection}{\numberline {8.1.4.5}stopped\discretionary {-}{}{}Threads}{18}{subsubsection.8.1.4.5}
\contentsline {subsubsection}{\numberline {8.1.4.6}worker\discretionary {-}{}{}I\discretionary {-}{}{}D}{18}{subsubsection.8.1.4.6}
\contentsline {section}{\numberline {8.2}Referencia de la Clase Socket}{18}{section.8.2}
\contentsline {subsection}{\numberline {8.2.1}Descripci\IeC {\'o}n detallada}{19}{subsection.8.2.1}
\contentsline {subsection}{\numberline {8.2.2}Documentaci\IeC {\'o}n del constructor y destructor}{19}{subsection.8.2.2}
\contentsline {subsubsection}{\numberline {8.2.2.1}Socket}{19}{subsubsection.8.2.2.1}
\contentsline {subsection}{\numberline {8.2.3}Documentaci\IeC {\'o}n de las funciones miembro}{19}{subsection.8.2.3}
\contentsline {subsubsection}{\numberline {8.2.3.1}Accept}{19}{subsubsection.8.2.3.1}
\contentsline {subsubsection}{\numberline {8.2.3.2}Bind}{19}{subsubsection.8.2.3.2}
\contentsline {subsubsection}{\numberline {8.2.3.3}Close}{19}{subsubsection.8.2.3.3}
\contentsline {subsubsection}{\numberline {8.2.3.4}Connect}{20}{subsubsection.8.2.3.4}
\contentsline {subsubsection}{\numberline {8.2.3.5}Create}{20}{subsubsection.8.2.3.5}
\contentsline {subsubsection}{\numberline {8.2.3.6}get\discretionary {-}{}{}Sock}{20}{subsubsection.8.2.3.6}
\contentsline {subsubsection}{\numberline {8.2.3.7}Listen}{20}{subsubsection.8.2.3.7}
\contentsline {subsubsection}{\numberline {8.2.3.8}operator$<$$<$}{20}{subsubsection.8.2.3.8}
\contentsline {subsubsection}{\numberline {8.2.3.9}operator$>$$>$}{20}{subsubsection.8.2.3.9}
\contentsline {subsubsection}{\numberline {8.2.3.10}Receive}{21}{subsubsection.8.2.3.10}
\contentsline {subsubsection}{\numberline {8.2.3.11}Send}{21}{subsubsection.8.2.3.11}
\contentsline {subsection}{\numberline {8.2.4}Documentaci\IeC {\'o}n de los datos miembro}{21}{subsection.8.2.4}
\contentsline {subsubsection}{\numberline {8.2.4.1}sock}{21}{subsubsection.8.2.4.1}
\contentsline {subsubsection}{\numberline {8.2.4.2}sock\discretionary {-}{}{}Addr}{21}{subsubsection.8.2.4.2}
\contentsline {section}{\numberline {8.3}Referencia de la Clase Socket\discretionary {-}{}{}Exception}{21}{section.8.3}
\contentsline {subsection}{\numberline {8.3.1}Descripci\IeC {\'o}n detallada}{22}{subsection.8.3.1}
\contentsline {subsection}{\numberline {8.3.2}Documentaci\IeC {\'o}n del constructor y destructor}{22}{subsection.8.3.2}
\contentsline {subsubsection}{\numberline {8.3.2.1}Socket\discretionary {-}{}{}Exception}{22}{subsubsection.8.3.2.1}
\contentsline {subsubsection}{\numberline {8.3.2.2}$\sim $\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception}{22}{subsubsection.8.3.2.2}
\contentsline {subsection}{\numberline {8.3.3}Documentaci\IeC {\'o}n de las funciones miembro}{22}{subsection.8.3.3}
\contentsline {subsubsection}{\numberline {8.3.3.1}description}{22}{subsubsection.8.3.3.1}
\contentsline {subsection}{\numberline {8.3.4}Documentaci\IeC {\'o}n de los datos miembro}{22}{subsection.8.3.4}
\contentsline {subsubsection}{\numberline {8.3.4.1}message}{22}{subsubsection.8.3.4.1}
\contentsline {section}{\numberline {8.4}Referencia de la Estructura thread\discretionary {-}{}{}\_\discretionary {-}{}{}args}{22}{section.8.4}
\contentsline {subsection}{\numberline {8.4.1}Descripci\IeC {\'o}n detallada}{23}{subsection.8.4.1}
\contentsline {subsection}{\numberline {8.4.2}Documentaci\IeC {\'o}n de los datos miembro}{23}{subsection.8.4.2}
\contentsline {subsubsection}{\numberline {8.4.2.1}condition}{23}{subsubsection.8.4.2.1}
\contentsline {subsubsection}{\numberline {8.4.2.2}id}{23}{subsubsection.8.4.2.2}
\contentsline {subsubsection}{\numberline {8.4.2.3}mutex}{23}{subsubsection.8.4.2.3}
\contentsline {subsubsection}{\numberline {8.4.2.4}s}{24}{subsubsection.8.4.2.4}
\contentsline {subsubsection}{\numberline {8.4.2.5}serv}{24}{subsubsection.8.4.2.5}
\contentsline {subsubsection}{\numberline {8.4.2.6}thread}{24}{subsubsection.8.4.2.6}
\contentsline {chapter}{\numberline {9}Documentaci\IeC {\'o}n de archivos}{25}{chapter.9}
\contentsline {section}{\numberline {9.1}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.cpp}{25}{section.9.1}
\contentsline {subsection}{\numberline {9.1.1}Descripci\IeC {\'o}n detallada}{25}{subsection.9.1.1}
\contentsline {subsection}{\numberline {9.1.2}Documentaci\IeC {\'o}n de las funciones}{25}{subsection.9.1.2}
\contentsline {subsubsection}{\numberline {9.1.2.1}exit\discretionary {-}{}{}Client}{25}{subsubsection.9.1.2.1}
\contentsline {subsubsection}{\numberline {9.1.2.2}main}{26}{subsubsection.9.1.2.2}
\contentsline {section}{\numberline {9.2}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/client.dox}{26}{section.9.2}
\contentsline {subsection}{\numberline {9.2.1}Descripci\IeC {\'o}n detallada}{26}{subsection.9.2.1}
\contentsline {section}{\numberline {9.3}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/conf.dox}{26}{section.9.3}
\contentsline {subsection}{\numberline {9.3.1}Descripci\IeC {\'o}n detallada}{26}{subsection.9.3.1}
\contentsline {section}{\numberline {9.4}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/howto.dox}{26}{section.9.4}
\contentsline {subsection}{\numberline {9.4.1}Descripci\IeC {\'o}n detallada}{26}{subsection.9.4.1}
\contentsline {section}{\numberline {9.5}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/server.h}{27}{section.9.5}
\contentsline {subsection}{\numberline {9.5.1}Descripci\IeC {\'o}n detallada}{27}{subsection.9.5.1}
\contentsline {subsection}{\numberline {9.5.2}Documentaci\IeC {\'o}n de los 'defines'}{28}{subsection.9.5.2}
\contentsline {subsubsection}{\numberline {9.5.2.1}C\discretionary {-}{}{}O\discretionary {-}{}{}N\discretionary {-}{}{}F\discretionary {-}{}{}F\discretionary {-}{}{}I\discretionary {-}{}{}L\discretionary {-}{}{}E}{28}{subsubsection.9.5.2.1}
\contentsline {subsubsection}{\numberline {9.5.2.2}N}{28}{subsubsection.9.5.2.2}
\contentsline {subsection}{\numberline {9.5.3}Documentaci\IeC {\'o}n de las funciones}{28}{subsection.9.5.3}
\contentsline {subsubsection}{\numberline {9.5.3.1}kill\discretionary {-}{}{}Thread}{28}{subsubsection.9.5.3.1}
\contentsline {subsubsection}{\numberline {9.5.3.2}process\discretionary {-}{}{}Text}{28}{subsubsection.9.5.3.2}
\contentsline {subsubsection}{\numberline {9.5.3.3}read\discretionary {-}{}{}Conf}{28}{subsubsection.9.5.3.3}
\contentsline {subsubsection}{\numberline {9.5.3.4}Worker\discretionary {-}{}{}Thread}{28}{subsubsection.9.5.3.4}
\contentsline {section}{\numberline {9.6}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket.h}{29}{section.9.6}
\contentsline {subsection}{\numberline {9.6.1}Descripci\IeC {\'o}n detallada}{29}{subsection.9.6.1}
\contentsline {section}{\numberline {9.7}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/include/\discretionary {-}{}{}Socket\discretionary {-}{}{}Exception.h}{29}{section.9.7}
\contentsline {subsection}{\numberline {9.7.1}Descripci\IeC {\'o}n detallada}{30}{subsection.9.7.1}
\contentsline {section}{\numberline {9.8}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/main\discretionary {-}{}{}\_\discretionary {-}{}{}server.cpp}{30}{section.9.8}
\contentsline {subsection}{\numberline {9.8.1}Descripci\IeC {\'o}n detallada}{31}{subsection.9.8.1}
\contentsline {subsection}{\numberline {9.8.2}Documentaci\IeC {\'o}n de las funciones}{31}{subsection.9.8.2}
\contentsline {subsubsection}{\numberline {9.8.2.1}kill\discretionary {-}{}{}Thread}{31}{subsubsection.9.8.2.1}
\contentsline {subsubsection}{\numberline {9.8.2.2}main}{31}{subsubsection.9.8.2.2}
\contentsline {subsubsection}{\numberline {9.8.2.3}process\discretionary {-}{}{}Text}{31}{subsubsection.9.8.2.3}
\contentsline {subsubsection}{\numberline {9.8.2.4}read\discretionary {-}{}{}Conf}{31}{subsubsection.9.8.2.4}
\contentsline {subsubsection}{\numberline {9.8.2.5}stop\discretionary {-}{}{}Server}{32}{subsubsection.9.8.2.5}
\contentsline {subsubsection}{\numberline {9.8.2.6}Worker\discretionary {-}{}{}Thread}{32}{subsubsection.9.8.2.6}
\contentsline {subsection}{\numberline {9.8.3}Documentaci\IeC {\'o}n de las variables}{32}{subsection.9.8.3}
\contentsline {subsubsection}{\numberline {9.8.3.1}serv}{32}{subsubsection.9.8.3.1}
\contentsline {section}{\numberline {9.9}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/mainpage.dox}{32}{section.9.9}
\contentsline {section}{\numberline {9.10}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/makefile.dox}{32}{section.9.10}
\contentsline {section}{\numberline {9.11}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.cpp}{32}{section.9.11}
\contentsline {subsection}{\numberline {9.11.1}Descripci\IeC {\'o}n detallada}{32}{subsection.9.11.1}
\contentsline {section}{\numberline {9.12}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/server.dox}{33}{section.9.12}
\contentsline {subsection}{\numberline {9.12.1}Descripci\IeC {\'o}n detallada}{33}{subsection.9.12.1}
\contentsline {section}{\numberline {9.13}Referencia del Archivo /home/imanol/devel/eclipse/\discretionary {-}{}{}P\discretionary {-}{}{}A\discretionary {-}{}{}D/\discretionary {-}{}{}Socket/src/\discretionary {-}{}{}Socket.cpp}{33}{section.9.13}
\contentsline {subsection}{\numberline {9.13.1}Descripci\IeC {\'o}n detallada}{33}{subsection.9.13.1}
\contentsline {part}{\IeC {\'I}ndice}{33}{subsection.9.13.1}