Hi,

My first plan was to write an AI in .Net with a translated libtpproto-java
library to c#.
This plan failed... would take to long and I need to do it for every update
of libtpproto-java.
Mithro suggest writing my own protocol library.
So, I stated creating a C# code generator for a C# protocol library.

Today I got the first productive output:

> namespace ProtoLib {
>     using System;
>
>
>     public class protocol {
>     }
> }


Currently I´m using CodeDom, xmlreader and textwriter.

My current problem is I don´t know how much I should create with the
generator and what.
I would create the classes from the xml file (protocol, packet,...) and for
the classes some getters, setters like llnz wrote me.
Also he wrote me that the generated library should create frames. As I
understand frames are network packets, aren´t they?
So best would be that incoming frames triggers events and out going frames
should be created via a method?
Should I only create one protocol library which only has the protocol
handling like the frames and a separate client library?
Or should I include the connection part and the rest, too?

Maybe it makes sense to create a git repo to backup, handle versions and
share the source.
Now we came to the license ... Which license would be the best for the
community and/or developers?


~Marcel Hauf
_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to