46 lines
1.8 KiB
TeX
46 lines
1.8 KiB
TeX
\hypertarget{_net_socket_8h}{\section{Net\-Socket.\-h File Reference}
|
|
\label{_net_socket_8h}\index{Net\-Socket.\-h@{Net\-Socket.\-h}}
|
|
}
|
|
|
|
|
|
A library designed to simplify the use of U\-N\-I\-X Network Sockets in the means of O\-O\-P.
|
|
|
|
|
|
{\ttfamily \#include $<$sys/socket.\-h$>$}\\*
|
|
{\ttfamily \#include $<$sys/types.\-h$>$}\\*
|
|
{\ttfamily \#include $<$arpa/inet.\-h$>$}\\*
|
|
{\ttfamily \#include $<$netdb.\-h$>$}\\*
|
|
{\ttfamily \#include $<$unistd.\-h$>$}\\*
|
|
{\ttfamily \#include $<$sys/wait.\-h$>$}\\*
|
|
{\ttfamily \#include $<$signal.\-h$>$}\\*
|
|
{\ttfamily \#include $<$string$>$}\\*
|
|
{\ttfamily \#include $<$cerrno$>$}\\*
|
|
{\ttfamily \#include $<$cstring$>$}\\*
|
|
\subsection*{Classes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
class \hyperlink{class_net_socket_p_p_1_1_net_socket}{Net\-Socket\-P\-P\-::\-Net\-Socket}
|
|
\begin{DoxyCompactList}\small\item\em A class, that represents network connection -\/ socket. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\subsection*{Namespaces}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
namespace \hyperlink{namespace_net_socket_p_p}{Net\-Socket\-P\-P}
|
|
\begin{DoxyCompactList}\small\item\em A namespace for all library names. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\subsection*{Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
std\-::string \hyperlink{namespace_net_socket_p_p_a1878dd84aabcae2aa92e6de381150e73}{Net\-Socket\-P\-P\-::\-C\-Str\-To\-String} (char $\ast$cstr)
|
|
\begin{DoxyCompactList}\small\item\em A function, that converts table of chars (a C-\/style string) into std\-::string. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
A library designed to simplify the use of U\-N\-I\-X Network Sockets in the means of O\-O\-P. \begin{DoxyAuthor}{Author}
|
|
Phitherek\-\_\-
|
|
\end{DoxyAuthor}
|
|
\begin{DoxyDate}{Date}
|
|
2012
|
|
\end{DoxyDate}
|
|
\begin{DoxyVersion}{Version}
|
|
0.\-1
|
|
\end{DoxyVersion}
|