I ran your code but i got the famous securiry exceptioin.
i ran both the server and client on the same machine.
i thought there wasn't any problem to do this.
i've tried more examples and all of them raise the exception.
do you know which is the problem?
do i have to run the example with 2 machines?