I am trying to send packets dependent on a boolean. I.e. the user can turn the packet sending on or off. I am leaving this to an infinite loop while (true) in o
while (true)