<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Silvio&#039;s blog</title>
	<link>http://www.silviosilva.com</link>
	<description></description>
	<lastBuildDate>Thu, 06 May 2010 15:26:47 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Many webservers behind a single IP</title>
		<description><![CDATA[The problem

One public IP address
Multiple webservers

The solutions

 Use different ports

 Your users will have to know the correct port or may end up on a wrong website


Use a single webserver

 You may require multiple webservers due to web-apps needs)


Use a webproxy

The one I&#8217;m going to explain



How it works
Your webproxy will be on port 80 accepting [...]]]></description>
		<link>http://www.silviosilva.com/2010/02/11/many-webservers-behind-a-single-ip/</link>
			</item>
	<item>
		<title>Berkeley API &#8211; Server in C + Client in PHP</title>
		<description><![CDATA[If you are a systems administrator responsible for hundreds of servers you may want to monitor them without  login in every single server. The solution is quite easy, and the following code (based on my last two posts) can be easily adapted to your needs.
Objective
Remotely access to a box and execute a command without [...]]]></description>
		<link>http://www.silviosilva.com/2009/07/16/berkeley-api-server-in-c-client-in-php/</link>
			</item>
	<item>
		<title>Berkeley Socket API &#8211; Creating a TCP/IP client in C</title>
		<description><![CDATA[Programming Languages
C
API
Berkeley Socket API
Data Structure used to store socked details

struct sockaddr_in6 {
	u_char		sin6_len;	// length of this structure
	u_char		sin6_family;	// AF_INET6
	u_int16m_t	sin6_port;	// Transport layer port #
	u_int32m_t	sin6_flowinfo;	// IPv6 flow information
	struct in6_addr	sin6_addr;	// IPv6 address
};

Filling the socket local address

// Declare the vars to use
struct sockaddr_in6 localaddress, remoteaddress;
// Fill the structures with zero's
memset(&#38;localaddress,0,sizeof(localaddress));
memset(&#38;remoteaddress,0,sizeof(remoteaddress));
// Client socket details
// Listen on any ipv6 address
localaddress.sin6_addr = in6addr_any;
// Address [...]]]></description>
		<link>http://www.silviosilva.com/2009/07/16/berkeley-socket-api-creating-a-tcpip-client-in-c/</link>
			</item>
	<item>
		<title>Berkeley Socket API &#8211; Creating a TCP/IP Server in C</title>
		<description><![CDATA[Programming Languages
C
API
Berkeley Socket API
What are sockets?
&#8220;In computer networking, an Internet socket (or commonly, a network socket or socket) is the endpoint of a bidirectional inter-process communication flow across an Internet Protocol-based computer network, such as the Internet. Internet sockets (in plural) are an application programming interface (API) application program and the TCP/IP stack, usually provided [...]]]></description>
		<link>http://www.silviosilva.com/2009/07/15/berkeley-socket-api-creating-a-tcpip-server-in-c/</link>
			</item>
	<item>
		<title>[HTML5] Video &amp; Audio elements</title>
		<description><![CDATA[We can finally embed audio and video without java, flash,&#8230;
Video Example

  Update your browser to learn how to speak geek 


&#60;video src=&#34;/files/videos/2lcfw1tykbh0.ogg&#34; controls&#62;
  Update your browser to learn how to speak geek
&#60;/video&#62;

Audio Example

  Update your browser to learn how to speak geek 


&#60;audio src=&#34;/files/videos/2lcfw1tykbh0.ogg&#34; controls&#62;
  Update your browser to learn how [...]]]></description>
		<link>http://www.silviosilva.com/2009/07/14/html5-video-audio-elements/</link>
			</item>
	<item>
		<title>[PHP] Simple template class</title>
		<description><![CDATA[Today I&#8217;ll share a simple template class in php. I did it a while ago and it works fairly good.
Objectives:

No HTML embebed on PHP code
Load a HTML template from file
Support loops
Replace vars
Publish the template

Result
Template.php
&#60;?php
class Template{
    private $template, $vars;

    public function __construct($templatePathAndName){
        if(file_exists($templatePathAndName))
 [...]]]></description>
		<link>http://www.silviosilva.com/2009/07/14/php-simple-template-class/</link>
			</item>
	<item>
		<title>OpenVZ mirror</title>
		<description><![CDATA[Since I had spare space on my node in Roubaix, France I deployed the first dual stack (IPV4&#38;6) openvz mirror.
It&#8217;s accessible vi http and ftp
http://openvz.silviosilva.com &#38; ftp://openvz.silviosilva.com
]]></description>
		<link>http://www.silviosilva.com/2009/03/16/openvz-mirror/</link>
			</item>
	<item>
		<title>IPv6: HE.net TunnelBroker &amp; OpenWRT</title>
		<description><![CDATA[This weekend I&#8217;ve implemented IPv6 at home using Hurricane Electric tunnelbroker and OpenWRT, in fact I&#8217;ve tried a lot of different firmwares but OpenWrt (whiterussian) ended up being the stable one and it&#8217;s really easy to configure.
Why install Ipv6?
All my boxes are already using IPv6 (some native, some tunnels) and since the links are so [...]]]></description>
		<link>http://www.silviosilva.com/2009/03/15/ipv6_tunnelbroker_openwrt/</link>
			</item>
</channel>
</rss>
