This commit is contained in:
sunshine
2004-08-02 14:07:30 +00:00
committed by zzz
parent 3f6e7cb84c
commit f2cadb7278
2 changed files with 8 additions and 7 deletions

View File

@@ -1,13 +1,12 @@
----------------------------------------
Python-I2P v0.9
Python-I2P v0.91
----------------------------------------
Python-I2P is a Python interface to I2P.
All files in this directory and subdirectories
have been placed in the public domain by
Connelly Barnes.
have been placed in the public domain.
----------------------------------------
Quick Start
@@ -19,13 +18,14 @@ Install:
Use:
>>> from i2p import sam
>>> s = sam.socket('Alice', sam.SOCK_STREAM)
>>> from i2p import socket
>>> s = socket.socket('Alice', socket.SOCK_STREAM)
>>> s.connect('duck.i2p')
>>> s.send('GET / HTTP/1.0\r\n\r\n')
>>> s.recv(1000)
(Response from duck.i2p)
See the src/examples/ directory for more code examples.
----------------------------------------
Full Start