Tag Archives: TCP

Printf makes my PC beep!

Ive been setting up TCP communication between windows 7 and my mac and I get kept getting a ringing sound when sending a certain packet. With some more investigation it turns out at a printf with a “\a” or ASCII 7 produces a beep to occur from the system. Im really not sure why I would want this to ever happen, and its really off putting to hear your code beep all the time!