Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > df754e4e6f7f5fc8ab9d6ed8559f3e3d > files > 58

bacula-docs-5.0.3-19.fc16.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2008 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>General</TITLE>
<META NAME="description" CONTENT="General">
<META NAME="keywords" CONTENT="developers">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="developers.css">

<LINK REL="next" HREF="Requirements_become_Support.html">
<LINK REL="previous" HREF="Platform_Support.html">
<LINK REL="up" HREF="Platform_Support.html">
<LINK REL="next" HREF="Requirements_become_Support.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html774"
  HREF="Requirements_become_Support.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html768"
  HREF="Platform_Support.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html762"
  HREF="Platform_Support.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html770"
  HREF="Contents.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html772"
  HREF="GNU_Free_Documentation_Lice.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html775"
  HREF="Requirements_become_Support.html">Requirements to become a</A>
<B> Up:</B> <A NAME="tex2html769"
  HREF="Platform_Support.html">Platform Support</A>
<B> Previous:</B> <A NAME="tex2html763"
  HREF="Platform_Support.html">Platform Support</A>
 &nbsp; <B>  <A NAME="tex2html771"
  HREF="Contents.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html773"
  HREF="GNU_Free_Documentation_Lice.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION001810000000000000000"></A>
<A NAME="6218"></A>
<BR>
General
</H1>

<P>
This document describes the TCP/IP protocol used by Bacula to communicate
between the various daemons and services. The definitive definition of the
protocol can be found in src/lib/bsock.h, src/lib/bnet.c and
src/lib/bnet_server.c. 

<P>
Bacula's network protocol is basically a ``packet oriented'' protocol built on
a standard TCP/IP streams. At the lowest level all packet transfers are done
with read() and write() requests on system sockets. Pipes are not used as they
are considered unreliable for large serial data transfers between various
hosts. 

<P>
Using the routines described below (bnet_open, bnet_write, bnet_recv, and
bnet_close) guarantees that the number of bytes you write into the socket
will be received as a single record on the other end regardless of how many
low level write() and read() calls are needed. All data transferred are
considered to be binary data. 

<P>
<BR><HR>
<ADDRESS>

2012-01-24
</ADDRESS>
</BODY>
</HTML>