Popular recipes tagged "tcp"http://code.activestate.com/recipes/tags/tcp/popular/2013-10-10T16:26:33-07:00ActiveState Code RecipesBasic threaded Python TCP server (Python) 2012-09-19T17:59:01-07:00Luis Martin Gilhttp://code.activestate.com/recipes/users/4183220/http://code.activestate.com/recipes/578247-basic-threaded-python-tcp-server/ <p style="color: grey"> Python recipe 578247 by <a href="/recipes/users/4183220/">Luis Martin Gil</a> (<a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/server/">server</a>, <a href="/recipes/tags/tcp/">tcp</a>, <a href="/recipes/tags/thread/">thread</a>). Revision 3. </p> <p>TCP provides reliable, ordered delivery of a stream of bytes from a program on one computer to another program on another computer. Sometimes you need a quick deployment of a TCP server and here I bring to you a Python 2.* snippet of a threaded Python server.</p> Counting TCP\UDP endpoints (Batch) 2013-10-10T16:26:33-07:00greg zakharovhttp://code.activestate.com/recipes/users/4184115/http://code.activestate.com/recipes/578335-counting-tcpudp-endpoints/ <p style="color: grey"> Batch recipe 578335 by <a href="/recipes/users/4184115/">greg zakharov</a> (<a href="/recipes/tags/endpoint/">endpoint</a>, <a href="/recipes/tags/tcp/">tcp</a>, <a href="/recipes/tags/udp/">udp</a>). Revision 2. </p> <p>Needs just for statistic, no further.</p> TCP Port Checker (Python) 2011-06-24T09:53:28-07:00Boubakrhttp://code.activestate.com/recipes/users/4176416/http://code.activestate.com/recipes/577769-tcp-port-checker/ <p style="color: grey"> Python recipe 577769 by <a href="/recipes/users/4176416/">Boubakr</a> (<a href="/recipes/tags/checker/">checker</a>, <a href="/recipes/tags/port/">port</a>, <a href="/recipes/tags/tcp/">tcp</a>). </p> <p>a simple TCP Port Checker using socket !</p> Convert Subnetmask from CIDR notation to dot.decimal form (Python) 2008-09-03T02:11:01-07:00gerontosepphttp://code.activestate.com/recipes/users/4166887/http://code.activestate.com/recipes/576483-convert-subnetmask-from-cidr-notation-to-dotdecima/ <p style="color: grey"> Python recipe 576483 by <a href="/recipes/users/4166887/">gerontosepp</a> (<a href="/recipes/tags/ip/">ip</a>, <a href="/recipes/tags/subnetmask/">subnetmask</a>, <a href="/recipes/tags/tcp/">tcp</a>). Revision 2. </p> <p>How to convert the CIDR notation (192.168.0.0/24) of a subnetmask to the dotted decimal form (255.255.255.0).</p>