LQL#

Work has begun on the long promised Mono (C#) bindings for LQL. This little C# program will display traffic statistics for all of the queueing disciplines that are supported by the C LQL library.

using System;
using LQL;
class MainClass { public static void Main(string[] args) { Gtk.Application.Init(); LQL.Con con = new LQL.Con();
GLib.List ifList = con.ListInterfaces(); foreach (LQL.Interface netInf in ifList) { GLib.List qdiscList = con.ListQdiscs(netInf);
foreach (LQL.QDisc qdisc in qdiscList) { qdisc.UpdateStats(con); qdisc.PrintStats(); } } } }

Very exciting stuff!

LQL# is not nearly polished enough for a public release yet but I am quite happy with how the work is progressing.

This entry was posted in General and tagged , . Bookmark the permalink.

One Response to LQL#

  1. Dudeguy says:

    FINALLY…what took you so long? I’ve been waiting my entire life for these LQL bindings….

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>