My nameserver has been working just dandy via UDP for over a year - no real hassles there.
Decided i need to get it working via TCP too - like all nameservers should - and have discovered that the first two bytes in the stream are in fact the length of the stream - when it's a UDP packet it's the ID instead however with TCP it's preceded by the length.
So I've modified my nameserver to work with that (not really needed using indy sockets I just removed those two bytes) however when sending the reply via TCP the local machine successfully gets the reply (using nslookup and set vc) but the remote machine never gets it - and thats with the new length put in to preceed the XID and without it.
Even wireshark fails to see the packet which is odd.
I need a new signature... i'm bored of the old one!