Porting libpurple to C#
priyankc at stanford.edu
Thu May 29 23:28:09 EDT 2008
I am trying to port libpurple to C#. In order to do that, I wrote a
wrapper in visual C++.net and made a .net dll. Now, I am using that
dll in C# code. But the problem is with receiving messages. The way I
am handling message receiving is, I am making a tcp connection through
sockets and writing the received message to the socket. In the C#
backend code, I wrote a TCP Listener, which will receive these
message. I know this is very in-efficient.
I have couple of questions in this context.
1. Is this way of using libpurple through .net dll a good way? Is
there some other way, through which I can use libpurple in C#?
2. Is there a better of receiving messages in C# when using libpurple
through .net dll?
Thank you for your time.
More information about the Devel