Click here to Skip to main content
15,883,798 members
Articles / Programming Languages / C

A Generic C-Language TCP Client Application

Rate me:
Please Sign up or sign in to vote.
3.67/5 (2 votes)
9 May 2010CPOL4 min read 29.1K   789   20  
A library for writing simple TCP client applications
<!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>TcpClient2: util/Log.c File Reference</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="main.html"><span>Main&nbsp;Page</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>
    </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>
<div class="contents">
<h1>util/Log.c File Reference</h1>
<p>Implementation of the <a class="el" href="classLog.html" title="Log class.">Log</a> facility.  
<a href="#_details">More...</a></p>
<code>#include &quot;../config.h&quot;</code><br/>
<code>#include &lt;assert.h&gt;</code><br/>
<code>#include &lt;ctype.h&gt;</code><br/>
<code>#include &lt;stdarg.h&gt;</code><br/>
<code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="Log_8h_source.html">Log.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="Log_8c_source.html">Mutex.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="Thread_8h_source.html">Thread.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="Time_8h_source.html">Time.h</a>&quot;</code><br/>
<div class="dynheader">
Include dependency graph for Log.c:</div>
<div class="dynsection">
<div class="center"><img src="Log_8c__incl.png" border="0" usemap="#util_2Log_8c_map" alt=""/></div>
<map name="util_2Log_8c_map" id="util_2Log_8c">
<area shape="rect" href="Log_8h.html" title="Public interface for the Log facility." alt="" coords="549,83,603,112"/><area shape="rect" href="Thread_8h.html" title="Public interface for class Thread." alt="" coords="627,83,699,112"/><area shape="rect" href="Time_8h.html" title="Public interface for the Time formatting facility." alt="" coords="723,83,784,112"/></map>
</div>
<div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dynsection">
<div class="center"><img src="Log_8c__dep__incl.png" border="0" usemap="#util_2Log_8cdep_map" alt=""/></div>
</div>

<p><a href="Log_8c_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Implementation of the <a class="el" href="classLog.html" title="Log class.">Log</a> facility. </p>

<p>Definition in file <a class="el" href="Log_8c_source.html">Log.c</a>.</p>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Sat May 8 16:16:36 2010 for TcpClient2 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>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
zvx
Software Developer
Brazil Brazil
I'm a long-time software developer living in Brazil.

I've been developing software for retail and banking automation in C/C++ for many years now. In the old days I even did some COBOL programming, and some assembly for the 8080.

My experience ranges from low level software such as interface code for serial devices for DOS and Windows (bar code scanners, printers, cash dispensers, etc) and goes to writing end user applications for POS terminals and bank ATMs. In between I've done a great deal of TCP/IP programming using the basic Berkeley sockets interface, which is my main interest nowadays.

Comments and Discussions