378 lines
22 KiB
HTML
378 lines
22 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
|
<title>OpenJPEG: sock_manager.h File Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">OpenJPEG
|
|
 <span id="projectnumber">2.4.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_43e0a1f539e00dcfa1a6bc4d4fee4fc2.html">home</a></li><li class="navelem"><a class="el" href="dir_cb9b2b419d92b64f7cee83d8faf7a4ab.html">even</a></li><li class="navelem"><a class="el" href="dir_f75d9a0165d6564a1e04793ef847d41d.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_5f588d7ea139c1aae751d03c13a16064.html">openjpeg</a></li><li class="navelem"><a class="el" href="dir_378f732e812ef6cbaaae22e96a4fa79f.html">src</a></li><li class="navelem"><a class="el" href="dir_19dcb5713315405a27e1bde75a489a4c.html">lib</a></li><li class="navelem"><a class="el" href="dir_54d80c9412497e935deb5677b5fae801.html">openjpip</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">sock_manager.h File Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include "<a class="el" href="byte__manager_8h_source.html">byte_manager.h</a>"</code><br />
|
|
<code>#include "<a class="el" href="opj__stdint_8h_source.html">opj_stdint.h</a>"</code><br />
|
|
</div>
|
|
<p><a href="sock__manager_8h_source.html">Go to the source code of this file.</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:a8b5839f71a3b6e7d64b2d5e9967e3dd1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sock__manager_8h.html#a8b5839f71a3b6e7d64b2d5e9967e3dd1">BUF_LEN</a>   256</td></tr>
|
|
<tr class="separator:a8b5839f71a3b6e7d64b2d5e9967e3dd1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:a8dc8083897335125630f1af5dafd5831"><td class="memItemLeft" align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a></td></tr>
|
|
<tr class="separator:a8dc8083897335125630f1af5dafd5831"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a3c822e28c71631b25683cc57e8e4536b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="sock__manager_8h.html#a3c822e28c71631b25683cc57e8e4536b">open_listeningsocket</a> (uint16_t port)</td></tr>
|
|
<tr class="memdesc:a3c822e28c71631b25683cc57e8e4536b"><td class="mdescLeft"> </td><td class="mdescRight">open listening socket <a href="#a3c822e28c71631b25683cc57e8e4536b">More...</a><br /></td></tr>
|
|
<tr class="separator:a3c822e28c71631b25683cc57e8e4536b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a792461126a522ddf1db31e7353c055d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="sock__manager_8h.html#a792461126a522ddf1db31e7353c055d8">accept_socket</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> listening_socket)</td></tr>
|
|
<tr class="memdesc:a792461126a522ddf1db31e7353c055d8"><td class="mdescLeft"> </td><td class="mdescRight">accept a new connection to the listenning socket <a href="#a792461126a522ddf1db31e7353c055d8">More...</a><br /></td></tr>
|
|
<tr class="separator:a792461126a522ddf1db31e7353c055d8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aed57d59576e34d348c940f59f9d6a286"><td class="memItemLeft" align="right" valign="top"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="sock__manager_8h.html#aed57d59576e34d348c940f59f9d6a286">receive_line</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, char *buf)</td></tr>
|
|
<tr class="memdesc:aed57d59576e34d348c940f59f9d6a286"><td class="mdescLeft"> </td><td class="mdescRight">receive a string line (ending with '<br />
|
|
') from client <a href="#aed57d59576e34d348c940f59f9d6a286">More...</a><br /></td></tr>
|
|
<tr class="separator:aed57d59576e34d348c940f59f9d6a286"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0257a018729bc73d0ccc970069a6352c"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="sock__manager_8h.html#a0257a018729bc73d0ccc970069a6352c">receive_string</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket)</td></tr>
|
|
<tr class="memdesc:a0257a018729bc73d0ccc970069a6352c"><td class="mdescLeft"> </td><td class="mdescRight">receive a string line (ending with '<br />
|
|
') from client, return malloc string <a href="#a0257a018729bc73d0ccc970069a6352c">More...</a><br /></td></tr>
|
|
<tr class="separator:a0257a018729bc73d0ccc970069a6352c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaeac7207dae4f03273607ba021530da6"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="sock__manager_8h.html#aaeac7207dae4f03273607ba021530da6">receive_stream</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> length)</td></tr>
|
|
<tr class="memdesc:aaeac7207dae4f03273607ba021530da6"><td class="mdescLeft"> </td><td class="mdescRight">receive data stream to client <a href="#aaeac7207dae4f03273607ba021530da6">More...</a><br /></td></tr>
|
|
<tr class="separator:aaeac7207dae4f03273607ba021530da6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7f5fb3b9c22e70ba6e82ca5560d98cc5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sock__manager_8h.html#a7f5fb3b9c22e70ba6e82ca5560d98cc5">send_stream</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> connected_socket, const void *stream, <a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> length)</td></tr>
|
|
<tr class="memdesc:a7f5fb3b9c22e70ba6e82ca5560d98cc5"><td class="mdescLeft"> </td><td class="mdescRight">send data stream to client <a href="#a7f5fb3b9c22e70ba6e82ca5560d98cc5">More...</a><br /></td></tr>
|
|
<tr class="separator:a7f5fb3b9c22e70ba6e82ca5560d98cc5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af35003e15c5a408a198d4b3eb717bfdd"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="sock__manager_8h.html#af35003e15c5a408a198d4b3eb717bfdd">close_socket</a> (<a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> sock)</td></tr>
|
|
<tr class="memdesc:af35003e15c5a408a198d4b3eb717bfdd"><td class="mdescLeft"> </td><td class="mdescRight">close socket <a href="#af35003e15c5a408a198d4b3eb717bfdd">More...</a><br /></td></tr>
|
|
<tr class="separator:af35003e15c5a408a198d4b3eb717bfdd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a class="anchor" id="a8b5839f71a3b6e7d64b2d5e9967e3dd1"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define BUF_LEN   256</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Referenced by <a class="el" href="imgsock__manager_8h.html#a88596b309ecbf50e65da25a0aea426e4">identify_clientmsg()</a>, <a class="el" href="imgsock__manager_8h.html#a79dc7124bbbf2db9f5b6149a6752be13">receive_JPIPstream()</a>, and <a class="el" href="sock__manager_8h.html#a0257a018729bc73d0ccc970069a6352c">receive_string()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a class="anchor" id="a8dc8083897335125630f1af5dafd5831"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef int <a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="a792461126a522ddf1db31e7353c055d8"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> accept_socket </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> </td>
|
|
<td class="paramname"><em>listening_socket</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>accept a new connection to the listenning socket </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">listening_socket</td><td>listenning socket </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>connected socket (-1 if error occurs) </dd></dl>
|
|
|
|
<p>Referenced by <a class="el" href="openjpip_8h.html#aeabf53674cdfc09c134a513fdd664b87">accept_connection()</a>, and <a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af35003e15c5a408a198d4b3eb717bfdd"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int close_socket </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> </td>
|
|
<td class="paramname"><em>sock</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>close socket </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">sock</td><td>closing socket </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>0 if succeed, -1 if failed </dd></dl>
|
|
|
|
<p>Referenced by <a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming()</a>, <a class="el" href="auxtrans__manager_8h.html#aff6d8f931e99feb9cb30a4fc2540823d">close_aux_transport()</a>, <a class="el" href="openjpip_8h.html#a43441d763d72585d9cc6c9b4b4ea422e">handle_clientreq()</a>, <a class="el" href="sock__manager_8h.html#a3c822e28c71631b25683cc57e8e4536b">open_listeningsocket()</a>, and <a class="el" href="openjpip_8h.html#a05f5e9a3abc177c5a18e0a97c77cc2e0">terminate_dec_server()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3c822e28c71631b25683cc57e8e4536b"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> open_listeningsocket </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint16_t </td>
|
|
<td class="paramname"><em>port</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>open listening socket </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">port</td><td>opening port number </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>new socket </dd></dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#af35003e15c5a408a198d4b3eb717bfdd">close_socket()</a>, and <a class="el" href="sock__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="auxtrans__manager_8h.html#a72e679f1d37899db4dec20b648c12ed9">init_aux_transport()</a>, and <a class="el" href="openjpip_8h.html#ae5c902178b9b0aa3b752de016a1074d7">init_dec_server()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aed57d59576e34d348c940f59f9d6a286"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> receive_line </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> </td>
|
|
<td class="paramname"><em>connected_socket</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>buf</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>receive a string line (ending with '<br />
|
|
') from client </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">connected_socket</td><td>file descriptor of the connected socket </td></tr>
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">buf</td><td>string to be stored </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>red size </dd></dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#ac1721ebe188622dcbd80540e1bc4a237">handle_PNMreqMSG()</a>, <a class="el" href="imgsock__manager_8h.html#a88596b309ecbf50e65da25a0aea426e4">identify_clientmsg()</a>, <a class="el" href="imgsock__manager_8h.html#a79dc7124bbbf2db9f5b6149a6752be13">receive_JPIPstream()</a>, and <a class="el" href="sock__manager_8h.html#a0257a018729bc73d0ccc970069a6352c">receive_string()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aaeac7207dae4f03273607ba021530da6"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void* receive_stream </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> </td>
|
|
<td class="paramname"><em>connected_socket</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> </td>
|
|
<td class="paramname"><em>length</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>receive data stream to client </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">connected_socket</td><td>file descriptor of the connected socket </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>length of the receiving stream </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>pointer to the data stream (memory allocated), NULL if failed </dd></dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="imgsock__manager_8h.html#a79dc7124bbbf2db9f5b6149a6752be13">receive_JPIPstream()</a>, and <a class="el" href="auxtrans__manager_8c.html#abf058dd7791756ca13f9a01abf5a38af">recv_ack()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0257a018729bc73d0ccc970069a6352c"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">char* receive_string </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> </td>
|
|
<td class="paramname"><em>connected_socket</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>receive a string line (ending with '<br />
|
|
') from client, return malloc string </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">connected_socket</td><td>file descriptor of the connected socket </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>pointer to the string (memory allocated) </dd></dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8h.html#a8b5839f71a3b6e7d64b2d5e9967e3dd1">BUF_LEN</a>, and <a class="el" href="sock__manager_8c.html#a777bd29ec89be2ffb64e799ba58a3c55">receive_line()</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="dec__clientmsg__handler_8h.html#aa47b5aa4364e9df31b03eca619009445">handle_CIDreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8h.html#a1b541c52a440a95733cd0f961189ad5a">handle_dstCIDreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8h.html#a163197f925cd8d6f60da5b6151e01c3b">handle_JP2saveMSG()</a>, <a class="el" href="dec__clientmsg__handler_8h.html#ac1721ebe188622dcbd80540e1bc4a237">handle_PNMreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8h.html#a98cac1bbde27cbbd1d4292985b3f5b49">handle_SIZreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8h.html#a86f804d83268e44baef977b7b54cbbcc">handle_TIDreqMSG()</a>, <a class="el" href="dec__clientmsg__handler_8h.html#a22becf5f598618de947805f858b1a617">handle_XMLreqMSG()</a>, and <a class="el" href="auxtrans__manager_8c.html#a728ad6700ddf9f738b3ac5a1ac69f379">identify_cid()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7f5fb3b9c22e70ba6e82ca5560d98cc5"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void send_stream </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="sock__manager_8h.html#a8dc8083897335125630f1af5dafd5831">SOCKET</a> </td>
|
|
<td class="paramname"><em>connected_socket</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const void * </td>
|
|
<td class="paramname"><em>stream</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="openjpeg_8h.html#aba7397be054e36dc0284a6589736135e">OPJ_SIZE_T</a> </td>
|
|
<td class="paramname"><em>length</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>send data stream to client </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">connected_socket</td><td>file descriptor of the connected socket </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">stream</td><td>data stream </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>length of data stream </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>References <a class="el" href="sock__manager_8c.html#a77b5d5af2adb2cfa7ec785b592fc4074">FCGI_stderr</a>.</p>
|
|
|
|
<p>Referenced by <a class="el" href="auxtrans__manager_8c.html#a1b2a6aa920175602327fffe3680d20a4">aux_streaming()</a>, <a class="el" href="imgsock__manager_8h.html#aef215de317da9d172aeecff45d9cd8bc">response_signal()</a>, <a class="el" href="imgsock__manager_8c.html#a920368b941b6d4f71f7fb778aa60b018">send_IDstream()</a>, <a class="el" href="imgsock__manager_8h.html#ad71cceb07cfdf4a4a83145a8ce1851bb">send_PNMstream()</a>, <a class="el" href="imgsock__manager_8h.html#a26cd2f3c7292e32bbc04bb22da49c8a1">send_SIZstream()</a>, and <a class="el" href="imgsock__manager_8h.html#a50505110646211f92d184f42b155af03">send_XMLstream()</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.11
|
|
</small></address>
|
|
</body>
|
|
</html>
|