Back
Asciify Logo
Asciify
DC4SYN

Negative Acknowledge

NAK (Negative Acknowledge) is ASCII code point 21 (0x15), Unicode U+0015. It is a C0 control character that a teleprinter sent when a received data block failed its integrity check — the negative counterpart to ACK (0x06). In IBM BSC and ISO 1745 link-control procedures, NAK tells the sender to retransmit the last block, forming the core error-recovery loop alongside ACK. XMODEM adopted the same role: a 0x15 reply after a corrupted 128-byte packet triggers immediate resend. Ctrl+U emits 0x15, though Unix shells long ago remapped that keystroke to "kill line" instead. UTF-8 encodes it as the single byte 0x15; Unicode classifies it as Cc (Control) with the alias NEGATIVE ACKNOWLEDGE.

Symbol

Technical Details

Code Example

</>
unsigned char resp = 0x15; // NAK
if (resp == 0x15) retries++; // receiver rejected frame
frame[0] = resp; // store control byte

Frequently Asked Questions

  • NAK (ASCII 21) means 'I received your data, but something is wrong.' It's the negative counterpart to ACK — the receiver is asking the sender to retransmit because the data was corrupted, incomplete, or invalid.

  • NAK is an active rejection — it confirms the receiver is alive and listening, but the data was bad. No response (timeout) might mean the receiver is offline, busy, or the data never arrived. NAK says 'I heard you, try again'; silence says nothing.

  • The byte itself is rare, but the concept is everywhere. HTTP 4xx/5xx status codes, TCP negative acknowledgments, and NACK in message queues all serve the same purpose — telling the sender 'that didn't work, here's what went wrong.'

  • Ctrl+U generates NAK (ASCII 21). In most modern shells, Ctrl+U is intercepted to clear the current input line (a readline binding), so the raw NAK byte rarely reaches applications.

@workani&@alexluthor
Privacy & legal

Privacy

No accounts, no ads, no tracking cookies, and no cross-site tracking. The only analytics we keep are faceless — anonymous, aggregated counts of pages and searches, never tied to you. We store no IP addresses, set no tracking cookies, and build no profiles. Cloudflare hosts the site and handles requests for delivery and security.

Full privacy policy·Extension privacy·legal@asciify.dev

Attributions & licenses

Twemoji
© Twitter, Inc and other contributors · CC-BY 4.0
Noto Color Emoji
© Google · Apache 2.0
Fluent UI Emoji
© Microsoft · MIT
OpenMoji
© HfG Schwäbisch Gmünd · CC-BY-SA 4.0
Toss Face
© Viva Republica (Toss) · SIL OFL 1.1
JoyPixels
© JoyPixels Inc. · Free Limited Use License
SerenityOS Emoji
© The SerenityOS Developers · BSD-2-Clause
EmojiTwo
© EmojiTwo contributors · CC-BY 4.0
Apple Color Emoji
© Apple, Inc.
Facebook Emoji
© Meta Platforms, Inc.

Apple and Facebook emoji styles are proprietary and shown here solely for reference and comparison — a common-sense application of nominative-use / fair-use principles. asciify is not affiliated with, endorsed by, or sponsored by Apple, Inc., Meta Platforms, Inc., or any other rights holder listed above. If a rights holder requests removal of their emoji style from this site, it will be removed.

All other vendor emoji are reproduced for reference and comparison under their respective open licenses listed above.

Character names and code points from the Unicode® Standard. Unicode® and the Unicode Logo are registered trademarks of Unicode, Inc.

Privacy
© asciify.dev 2025-2026