Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-backports > by-pkgid > 9601c7beb4ff23e834bfa171795ed560 > files > 672

vidalia-0.2.9-1mdv2010.1.i586.rpm

<!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"/>
<title>Vidalia: connecthostport.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="dir_b47abd1aad201a152869566145babb61.html">src</a>&nbsp;&raquo;&nbsp;<a class="el" href="dir_ba957854da48b9bba2087c1aa8432048.html">miniupnpc</a>
  </div>
</div>
<div class="contents">
<h1>connecthostport.h</h1><a href="connecthostport_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* $Id: connecthostport.h,v 1.1 2010/04/04 23:21:03 nanard Exp $ */</span>
<a name="l00002"></a>00002 <span class="comment">/* Project: miniupnp</span>
<a name="l00003"></a>00003 <span class="comment"> * http://miniupnp.free.fr/</span>
<a name="l00004"></a>00004 <span class="comment"> * Author: Thomas Bernard</span>
<a name="l00005"></a>00005 <span class="comment"> * Copyright (c) 2010 Thomas Bernard</span>
<a name="l00006"></a>00006 <span class="comment"> * This software is subjects to the conditions detailed</span>
<a name="l00007"></a>00007 <span class="comment"> * in the LICENCE file provided within this distribution */</span>
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef __CONNECTHOSTPORT_H__</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define __CONNECTHOSTPORT_H__</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 <span class="comment">/* connecthostport()</span>
<a name="l00012"></a>00012 <span class="comment"> * return a socket connected (TCP) to the host and port</span>
<a name="l00013"></a>00013 <span class="comment"> * or -1 in case of error */</span>
<a name="l00014"></a>00014 <span class="keywordtype">int</span> <a class="code" href="connecthostport_8h.html#a8985baf2abfa78de85c53f6701b55d10">connecthostport</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * host, <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> port);
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="preprocessor">#endif</span>
<a name="l00017"></a>00017 <span class="preprocessor"></span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Aug 30 22:58:54 2010 for Vidalia by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>