STATIC.x

Kunal Dawn


Leave a comment

Device Drivers, Part 6: Decoding Character Device File Operations

So, what was your guess on how Shweta would crack the problem? Obviously, with the help of Pugs. Wasn’t it obvious? In our previous article, we saw how Shweta was puzzled by not being able to read any data, even after writing into the /dev/mynull character device file. Suddenly, a bell rang — not inside her head, but a real one at the door. And for sure, there was Pugs.

“How come you’re here?” exclaimed Shweta. Continue reading


Leave a comment

Python Sockets

Python provides two levels of access to network services. At a low level, you can access the basic socket support in the underlying operating system, which allows you to implement clients and servers for both connection-oriented and connectionless protocols.

Python also has libraries that provide higher-level access to specific application-level network protocols, such as FTP, HTTP, and so on.

This tutorial gives you understanding on most famous concept in Networking – Socket Programming

What is Sockets?

Sockets are the endpoints of a bidirectional communications channel. Sockets may communicate within a process, between processes on the same machine, or between processes on different continents.

Sockets may be implemented over a number of different channel types: Unix domain sockets, TCP, UDP, and so on. The socket library provides specific classes for handling the common transports as well as a generic interface for handling the rest. Continue reading


Leave a comment

Python Socket Programming HOWTO

Abstract

Sockets are used nearly everywhere, but are one of the most severely misunderstood technologies around. This is a 10,000 foot overview of sockets. It’s not really a tutorial – you’ll still have work to do in getting things operational. It doesn’t cover the fine points (and there are a lot of them), but I hope it will give you enough background to begin using them decently.

Sockets

Sockets are used nearly everywhere, but are one of the most severely misunderstood technologies around. This is a 10,000 foot overview of sockets. It’s not really a tutorial – you’ll still have work to do in getting things working. It doesn’t cover the fine points (and there are a lot of them), but I hope it will give you enough background to begin using them decently. Continue reading


Leave a comment

Python Books Collection

So, here are some free books to start with python programming.

  1. http://files.swaroopch.com/python/byte_of_python.pdf
  2. http://learnpythonthehardway.org/book/
  3. http://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python_3/Print_version
  4. http://upload.wikimedia.org/wikipedia/commons/9/91/Python_Programming.pdf
  5. http://www.greenteapress.com/thinkpython/thinkpython.pdf Continue reading