On 2/25/11, kunal ghosh <kunal...@gmail.com> wrote:
> Hi all, i am working on UDP hole punching to allow communication between two
> computers hidden
> behind their respective NATs (Home Router).
[...]
> Now i try to do the same thing using python and sockets,
> step 1: holepunch , send UDP packet from receiver to sender
[...]

It has been a while since I have had occasion to play with sockets
(sigh!), but an errno 22 (EINVAL) is usually a generic failure to
connect. Are you sure that something is not blocking access?
I would suggest trying to first test your code on localhost: Here
is an example Google Mama was kind enough to turn up:
http://www.evolt.org/node/60276,

Regards,
Gora
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to