|
2010-10-29
, 17:39
|
Posts: 31 |
Thanked: 40 times |
Joined on Aug 2010
|
#22
|
I finally got it working.
There is a bind problem with SocketServer if you explicitly set localhost or hostname then it will only allow local socket connections so in server.py change:
toCode:HOST, PORT = "my-desktop", 50007
and a small mistake where the variable callernumber should be sendernumberCode:HOST, PORT = '', 50007
In client.py change:
toCode:def handle_call(obj_path, callernumber):
Code:def handle_call(obj_path, sendernumber):
There is a bind problem with SocketServer if you explicitly set localhost or hostname then it will only allow local socket connections so in server.py change:
In client.py change: