<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/socket</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 14:18:44 GMT</pubDate>
<item>
<title>(PHP) Doing POST Request by Socket Connection - apphp-snippets</title>
<link>http://snipplr.com/view/70119/doing-post-request-by-socket-connection/</link>
<description><![CDATA[ <p>This example of code shows how to do a simple POST request in PHP to another web server by using a socket connection.</p> ]]></description>
<pubDate>Wed, 27 Feb 2013 20:51:52 GMT</pubDate>
<guid>http://snipplr.com/view/70119/doing-post-request-by-socket-connection/</guid>
</item>
<item>
<title>(PHP) Doing POST Request by Socket Connection - apphp-snippets</title>
<link>http://snipplr.com/view/69922/doing-post-request-by-socket-connection/</link>
<description><![CDATA[ <p>This example of code shows how to do a simple POST request in PHP to another web server by using a socket connection.</p> ]]></description>
<pubDate>Wed, 13 Feb 2013 20:01:27 GMT</pubDate>
<guid>http://snipplr.com/view/69922/doing-post-request-by-socket-connection/</guid>
</item>
<item>
<title>(Objective C) socket with iphone - ghiboz</title>
<link>http://snipplr.com/view/57619/socket-with-iphone/</link>
<description><![CDATA[ <p>da testare</p> ]]></description>
<pubDate>Thu, 04 Aug 2011 18:13:18 GMT</pubDate>
<guid>http://snipplr.com/view/57619/socket-with-iphone/</guid>
</item>
<item>
<title>(Perl) connect to mysql using a different socket - alfirth</title>
<link>http://snipplr.com/view/52970/connect-to-mysql-using-a-different-socket/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 04 May 2011 05:44:06 GMT</pubDate>
<guid>http://snipplr.com/view/52970/connect-to-mysql-using-a-different-socket/</guid>
</item>
<item>
<title>(Bash) auf hpi-placebo ein terminal öffnen - abstraktor</title>
<link>http://snipplr.com/view/52446/auf-hpiplacebo-ein-terminal-ffnen/</link>
<description><![CDATA[ <p>so verbindest du zum placebo von der uni. erst hpi-login und dann kannst du an port 9876 ins www tunneln oder auch auf dem placebo ein terminal öffnen (zB für den webspace).</p> ]]></description>
<pubDate>Fri, 22 Apr 2011 03:42:23 GMT</pubDate>
<guid>http://snipplr.com/view/52446/auf-hpiplacebo-ein-terminal-ffnen/</guid>
</item>
<item>
<title>(Regular Expression) Socket Regex - beaknit</title>
<link>http://snipplr.com/view/52099/socket-regex/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 15 Apr 2011 03:05:50 GMT</pubDate>
<guid>http://snipplr.com/view/52099/socket-regex/</guid>
</item>
<item>
<title>(PHP) Basic PHP Client for Rumpetroll - michaelphipps</title>
<link>http://snipplr.com/view/43329/basic-php-client-for-rumpetroll/</link>
<description><![CDATA[ <p>this is a very basic client for rumpetroll.  Very messy, still needs to be turned into a class</p> ]]></description>
<pubDate>Sun, 31 Oct 2010 11:24:57 GMT</pubDate>
<guid>http://snipplr.com/view/43329/basic-php-client-for-rumpetroll/</guid>
</item>
<item>
<title>(PHP) php server status check - metoikos</title>
<link>http://snipplr.com/view/35242/php-server-status-check/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 26 May 2010 23:53:07 GMT</pubDate>
<guid>http://snipplr.com/view/35242/php-server-status-check/</guid>
</item>
<item>
<title>(C#) Get the network interface card (NIC) from a known MAC address (and get the IP addresses on that NIC) - pckujawa</title>
<link>http://snipplr.com/view/28193/get-the-network-interface-card-nic-from-a-known-mac-address-and-get-the-ip-addresses-on-that-nic/</link>
<description><![CDATA[ <p>The code shows how to take a known MAC (e.g. "00:00:00:11:22:33") and locate the NIC which has that MAC. Note that the built-in MAC class for .NET is called PhysicalAddress (in System.Net.NetworkInformation). PhysicalAddress.Parse can take a string, so long as it has only numbers or numbers and dashes (-). We normally use colons (:) instead of dashes, so that's why I do a .Replace().

The last part of the code retrieves the IP Addresses associated with the selected NIC.</p> ]]></description>
<pubDate>Thu, 11 Feb 2010 13:48:57 GMT</pubDate>
<guid>http://snipplr.com/view/28193/get-the-network-interface-card-nic-from-a-known-mac-address-and-get-the-ip-addresses-on-that-nic/</guid>
</item>
<item>
<title>(C#) Bind a socket (including UdpClient and TcpClient) to a local network interface card (NIC) - pckujawa</title>
<link>http://snipplr.com/view/28192/bind-a-socket-including-udpclient-and-tcpclient-to-a-local-network-interface-card-nic/</link>
<description><![CDATA[ <p>If you are using a UdpClient or TcpClient, you have access to the internal Socket which either type uses. Unfortunately, if you try to Bind that Socket to a local Endpoint (IPAddress and Port), you will probably get a SocketException. The solution I found is to create the Socket independently, then assign that instance to the UdpClient (as shown in the code) or TcpClient (changing the Socket parameters, of course).</p> ]]></description>
<pubDate>Thu, 11 Feb 2010 13:41:21 GMT</pubDate>
<guid>http://snipplr.com/view/28192/bind-a-socket-including-udpclient-and-tcpclient-to-a-local-network-interface-card-nic/</guid>
</item>
<item>
<title>(Python) simple lock application with socket / port - manatlan</title>
<link>http://snipplr.com/view/21487/simple-lock-application-with-socket--port/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 20 Oct 2009 05:23:18 GMT</pubDate>
<guid>http://snipplr.com/view/21487/simple-lock-application-with-socket--port/</guid>
</item>
<item>
<title>(Python) test if an [ip:port] is open - manatlan</title>
<link>http://snipplr.com/view/19639/test-if-an-ipport-is-open/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 12 Sep 2009 17:33:37 GMT</pubDate>
<guid>http://snipplr.com/view/19639/test-if-an-ipport-is-open/</guid>
</item>
<item>
<title>(Haskell) Networking sample in Haskell - keigoi</title>
<link>http://snipplr.com/view/17541/networking-sample-in-haskell/</link>
<description><![CDATA[ <p>very basic example to connect/listen/accept on a port.</p> ]]></description>
<pubDate>Mon, 27 Jul 2009 19:33:12 GMT</pubDate>
<guid>http://snipplr.com/view/17541/networking-sample-in-haskell/</guid>
</item>
<item>
<title>(Bash) Summarize TCP socket states (using netstat) - scarfboy</title>
<link>http://snipplr.com/view/7832/summarize-tcp-socket-states-using-netstat/</link>
<description><![CDATA[ <p>Filters for tcp and tcp6 lines, so omits udp and unix sockets.

Information is gathered from /proc; this uses netstat mainly to format it.

Gives output like:     21 tcp LISTEN
     12 tcp ESTABLISHED
      7 tcp6 LISTEN
      1 tcp TIME_WAIT</p> ]]></description>
<pubDate>Tue, 12 Aug 2008 10:08:34 GMT</pubDate>
<guid>http://snipplr.com/view/7832/summarize-tcp-socket-states-using-netstat/</guid>
</item>
<item>
<title>(PHP) Php Socket Client - miziomon</title>
<link>http://snipplr.com/view/1677/php-socket-client/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 17 Nov 2006 13:08:57 GMT</pubDate>
<guid>http://snipplr.com/view/1677/php-socket-client/</guid>
</item>
<item>
<title>(Python) Socket Server - miziomon</title>
<link>http://snipplr.com/view/1675/socket-server/</link>
<description><![CDATA[ <p>very simple socket server.</p> ]]></description>
<pubDate>Fri, 17 Nov 2006 00:44:20 GMT</pubDate>
<guid>http://snipplr.com/view/1675/socket-server/</guid>
</item>
<item>
<title>(PHP) send_http_request() - ryansobol</title>
<link>http://snipplr.com/view/1508/sendhttprequest/</link>
<description><![CDATA[ <p>Sends a request to a supplied path for a given host.  It can send either a GET or POST request and can pass parameters.</p> ]]></description>
<pubDate>Tue, 31 Oct 2006 14:23:07 GMT</pubDate>
<guid>http://snipplr.com/view/1508/sendhttprequest/</guid>
</item>
<item>
<title>(Python) Cliente de echo - buscarini</title>
<link>http://snipplr.com/view/418/cliente-de-echo/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 14 Jul 2006 08:05:25 GMT</pubDate>
<guid>http://snipplr.com/view/418/cliente-de-echo/</guid>
</item>
<item>
<title>(Python) Servidor de echo - buscarini</title>
<link>http://snipplr.com/view/416/servidor-de-echo/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 14 Jul 2006 08:00:08 GMT</pubDate>
<guid>http://snipplr.com/view/416/servidor-de-echo/</guid>
</item>
<item>
<title>(PHP) Fetch Remote File - neogeek</title>
<link>http://snipplr.com/view/107/fetch-remote-file/</link>
<description><![CDATA[ <p>This simple function allows you to fetch files from other web sites in PHP4 without needing to install any extensions for PHP.</p> ]]></description>
<pubDate>Thu, 29 Jun 2006 22:26:14 GMT</pubDate>
<guid>http://snipplr.com/view/107/fetch-remote-file/</guid>
</item>
</channel>
</rss>