|
|
@ -6,9 +6,9 @@ import gnunet |
|
|
|
# make instance of connector, |
|
|
|
# without arguments it defaults to localhost, port 7776 |
|
|
|
print("\nMaking instance of connector") |
|
|
|
conn = gnunet.GNUnetConnector() |
|
|
|
conn = gnunet.GNUnetRest() |
|
|
|
# it is also possible to specify host and port, for example: |
|
|
|
# conn=gnunet.GNUnetConnector("localhost","7771") |
|
|
|
# conn=gnunet.GNUnetRest("localhost","7771") |
|
|
|
|
|
|
|
# test if connection is possible |
|
|
|
print("\nTesting Connector") |
|
|
|