You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.4 KiB
34 lines
1.4 KiB
\hypertarget{socket_8h}{
|
|
\section{include/socket.h File Reference}
|
|
\label{socket_8h}\index{include/socket.h@{include/socket.h}}
|
|
}
|
|
{\tt \#include $<$arpa/inet.h$>$}\par
|
|
\subsection*{Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
int \hyperlink{socket_8h_44dc8ffaedb1d6f7d4663f5cecaf4e70}{initServerSocket} (in\_\-port\_\-t port, int backlog)
|
|
\item
|
|
int \hyperlink{socket_8h_f09ba488c48f40f8d1f133a4441deb25}{acceptConnection} (int servSock, char remoteAddr\mbox{[}16\mbox{]})
|
|
\end{CompactItemize}
|
|
|
|
|
|
\subsection{Function Documentation}
|
|
\hypertarget{socket_8h_f09ba488c48f40f8d1f133a4441deb25}{
|
|
\index{socket.h@{socket.h}!acceptConnection@{acceptConnection}}
|
|
\index{acceptConnection@{acceptConnection}!socket.h@{socket.h}}
|
|
\subsubsection[{acceptConnection}]{\setlength{\rightskip}{0pt plus 5cm}int acceptConnection (int {\em servSock}, \/ char {\em remoteAddr}\mbox{[}16\mbox{]})}}
|
|
\label{socket_8h_f09ba488c48f40f8d1f133a4441deb25}
|
|
|
|
|
|
|
|
|
|
Definition at line 53 of file socket.c.\hypertarget{socket_8h_44dc8ffaedb1d6f7d4663f5cecaf4e70}{
|
|
\index{socket.h@{socket.h}!initServerSocket@{initServerSocket}}
|
|
\index{initServerSocket@{initServerSocket}!socket.h@{socket.h}}
|
|
\subsubsection[{initServerSocket}]{\setlength{\rightskip}{0pt plus 5cm}int initServerSocket (in\_\-port\_\-t {\em port}, \/ int {\em backlog})}}
|
|
\label{socket_8h_44dc8ffaedb1d6f7d4663f5cecaf4e70}
|
|
|
|
|
|
|
|
|
|
Definition at line 15 of file socket.c.
|