Source

python-socket-examples / readme

Full commit
Python Socket Examples
======================

A collection of simple Python programs that show off the capabilities of the socket
module.

IPv6 Sockets
------------

There are much more thorough treatments of normal network sockets out there, but
for completeness I've included an example :file:`basic_socket_client.py` and 
:file:`basic_socket_server.py` that will work together.

Bluetooth Sockets
-----------------

Querying nearby devices
~~~~~~~~~~~~~~~~~~~~~~~

From the linux command line:
	
	$ hcitool scan
	Scanning ...
		38:0A:94:2C:EA:D2	briandroid

	$ obexfs -b 38:0A:94:2C:EA:D2




CAN Sockets
-----------

Raw
~~~

:file:`raw_can.py` shows sending CAN messages using a raw can socket and
receiving a filtered selection of them.

BCM
~~~


Generating some sort of slideshow:

    $ pandoc -s --self-contained --webtex -i -t slidy slideshow.md -o presentation.html