Re: [pypy-dev] pypy rsocket problem

2012-02-05 Thread Andrew Evans
Correction I did not realize it was primarily used for interpreters Sorry its early On Sun, Feb 5, 2012 at 7:25 AM, Andrew Evans wrote: > Oh I see no worries I don't have to use RPython, I did not realize it was > primarily used for compilers. Primarily what I wanted to use it

Re: [pypy-dev] pypy rsocket problem

2012-02-05 Thread Andrew Evans
Oh I see no worries I don't have to use RPython, I did not realize it was primarily used for compilers. Primarily what I wanted to use it for was the translation into a (small) binary feature This intrigued me, but I see what your saying ;-) Thank you for the help I will continue to use Python ra

Re: [pypy-dev] pypy rsocket problem

2012-02-04 Thread Andrew Evans
Sorry for all the messages I attached a log of what happens when I try to compile this *cheers [translation:ERROR] Error: [translation:ERROR] Traceback (most recent call last): [translation:ERROR]File "C:\pypy\pypy\translator\goal\translate.py", line 30 9, in main [translation:ERROR] drv.

Re: [pypy-dev] pypy rsocket problem

2012-02-04 Thread Andrew Evans
This is actually what I wanted to do with ptr, sorry I had to confirm with a friend of mine before posting again. The hex code should be cast to a CCHARP The problem I am facing is compiling using rsocket if I remove the send and connect and INETAddress bits it compiles but as soon as I add INETAd

[pypy-dev] pypy rsocket problem

2012-02-04 Thread Andrew Evans
Hello I started developing a small exploit framework in Python about a year ago. I will be honest I did not get very far due to lack of commitment. But I wish to start on this project again, my idea is simple I want to write this in PyPy using RPython and be able to compile the exploits into execut

[pypy-dev] Compiling using translate [a small tutorial]

2012-02-04 Thread Andrew Evans
I thought I would post a small tutorial on using translate.py to compile pypy RPython scripts This tutorial is about how to compile python standalone executables using RPYTHON. RPython is a restricted subset of of python RPython (Restricted Python) is statically typed What will we cover in this t

[pypy-dev] Compiling RPython with ctypes

2011-07-12 Thread Andrew Evans
Hello I am running into some snags developing an executable in pypy with translate.py and wondering what the best method for me to do this with my code would be. I am developing an Exploit Framework and one of the features I would like to have is compiling an executable. I am wondering if this is e