Re: socket policy flash help

2009-08-03 Thread NighterNet
On Aug 2, 12:25 pm, Piet van Oostrum wrote: > > NighterNet (N) wrote: > >N> Here the full code. > >N> flashpolicy.xml > >N> [[[ > >N> > >N> > >N>     > >N> > >N> ]]] > >N> flashpolicytest_server3x.py > >N> [[[ > >N> #!/usr/local/bin/python > >N> ''' > >N> Still under testing... > >N> pytho

Re: socket policy flash help

2009-08-02 Thread Piet van Oostrum
> NighterNet (N) wrote: >N> Here the full code. >N> flashpolicy.xml >N> [[[ >N> >N> >N> >N> >N> ]]] >N> flashpolicytest_server3x.py >N> [[[ >N> #!/usr/local/bin/python >N> ''' >N> Still under testing... >N> python version 3.x.x >N> ''' >N> import socket >N> import threading >N> impor

Re: socket policy flash help

2009-08-01 Thread NighterNet
Here the full code. flashpolicy.xml [[[ ]]] flashpolicytest_server3x.py [[[ #!/usr/local/bin/python ''' Still under testing... python version 3.x.x ''' import socket import threading import sys import os file_name = 'flashpolicy.xml' fh = open(file_name, "r") policy = fh.read(10001) hos

Re: socket policy flash help

2009-08-01 Thread NighterNet
On Aug 1, 4:52 am, Piet van Oostrum wrote: > > NighterNet (N) wrote: > >N> I need help on the policy to able to let access to user to the server > >N> once the policy access is finish. I been trying to find a good > >N> example, but I got no luck. Using python version 3.1. > >N> Here the code

Re: socket policy flash help

2009-08-01 Thread Piet van Oostrum
> NighterNet (N) wrote: >N> I need help on the policy to able to let access to user to the server >N> once the policy access is finish. I been trying to find a good >N> example, but I got no luck. Using python version 3.1. >N> Here the code I tested but it not working. >N> if str(buff) == s

Re: socket policy flash help

2009-08-01 Thread paul
NighterNet schrieb: I need help on the policy to able to let access to user to the server once the policy access is finish. I been trying to find a good example, but I got no luck. Using python version 3.1. Here the code I tested but it not working. if str(buff) == str("b\'\\x00\'"):

socket policy flash help

2009-07-31 Thread NighterNet
I need help on the policy to able to let access to user to the server once the policy access is finish. I been trying to find a good example, but I got no luck. Using python version 3.1. Here the code I tested but it not working. if str(buff) == str("b\'\\x00\'"):