Which unit do your prefer for writing your TCP/UDP apps?

I want to find one that is not a visual component, simple, small, threaded and without bugs if possible. Any?