Hello, my program listens on port 23 for telnet connections, it works fine accept for when I try to recieve some data. It recieves the correct data, but it also fills up the rest of the buffer with useless junk. How do I stop it sending me all this rubbish? Or is there a way to filter out the actual data?

thanks everybody.