<html> <head> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Pluggable Sockets</title> <link rel="stylesheet" type="text/css" href="../../style.css"> </head> <body> <div class="CommonContent"> <div class="CommonContentArea"> <h1>Pluggable Sockets</h1> <p>db4o allows to customize client-server communication by using pluggable socket implementations:</p> <span name="cs_wiki_filter" csw_filters="net"><p>.NET: </p> <p><code>public static IObjectServer OpenServer(IConfiguration config, string databaseFileName, int port, INativeSocketFactory socketFactory)</code></p> <p><code>public static IObjectContainer OpenClient(IConfiguration config, string hostName, int port, string user, string password, INativeSocketFactory socketFactory)</code></p> </span> <p>Here NativeSocketFactory interface should be used to provide client and server sockets, which may implement any custom way of communication.</p> <p>An example of such customary implementation can be <a href="pluggable_sockets/using_ssl_for_client-server_communication.html" class="wikiLink">encrypted communication</a>.</p> <p>Note, that this API is in the development stage and is subject to future changes.</p> </div> </div> <div id="footer"> This revision (2) was last Modified 2007-12-23T20:04:14 by Tetyana. </div> </body> </html>