Category Archives: xmpp

SRV meets LINQ

LINQ (Language Integrated Query) is really amazing. Today I rewrote a function which picks the correct SRV-Record according to the priority and weight for XMPP client and server connections. The old code without comments were 63 lines. The new code is about 12 lines and much easier to read IMHO. But take a look at […]