[p2p-hackers] Network library?

Jeremy James jbj at forbidden.co.uk
Mon Jan 30 14:49:43 UTC 2006


Ole Laursen wrote:
> What can people here recommend for a network library for C, C++, Java
> or C#? It should support an event-driven style of programming and
> preferably have a messaging interface ("send this string to X",
> "received this string from Y") with support for TLS.
> 
> I've going to use it for a LAN so NAT-hole punching and UDP support is
> not important.

And while you're about it, I'm looking for a library with an identical 
specification under Python. Being event-based would suggest twisted as 
being a good base (as well as having TLS etc on-hand), although I 
haven't found a good library yet (yes, I know about Khashmir [1], but 
that's just a DHT, and I need a routing/messaging interface).

I've had several attempts with Kenosis [2] to get it working, but only 
been able to get it running once under a version of python on one of my 
machines, let alone getting round to doing any development. This is a 
shame, since one of its goals on the website is to 'Just Work'.

If I can't find a suitable library, I'll write my own, but would 
appreciate any suggestions of standards to use (or other language 
libraries to port) to make it cross-library and cross-platform compatible.


Best wishes,
Jeremy

[1] http://khashmir.sourceforge.net/
[2] http://kenosis.sourceforge.net/



More information about the P2p-hackers mailing list