Reformating code + Fixing Flapping TCP Status