Using python with C Library

F

fu

hi there,
i got the following problem: I have a set of compiled C files, providing
a API for a special encryption / decrytion of messages to be exchanged
over the internet, well documented and with a lot of programming
examples of how to work with it and its functions (in this case the
examples are all in C). Now i want to use it with twisted/python
together, to have all the advantages of twisted (especially the reactor
instead of threading, deferred and so on), but the C API to do the last
step before messages are send out.

The C API should just play some kind of middleware between the tcp-ip
protokoll and the twisted server. Is it possible to extending python /
twisted with that library by "just import" them?

Any kind of advice / suggestions would help

thanks
J.F.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,181
Messages
2,570,969
Members
47,536
Latest member
VeldaYoung

Latest Threads

Top