IT lexicon › Infra & Ops › ICE (Inter-Client Exchange)

ICE (Inter-Client Exchange)

Infra & Ops På svenska → Updated: 2026-10-09
More info
Creator
Bob Scheifler and Jordan Brown, X Consortium
Released
1994 (X11R6)
Type
Protocol and library (libICE)
Spec
Inter-Client Exchange Protocol

X11R6's general-purpose transport for X programs that need to talk to each other without going through the X server — best known as the thing XSMP and KDE's DCOP were built on.

The X protocol has exactly one channel, client to server, so any two programs that wanted a direct conversation had to invent their own way every time. Bob Scheifler and Jordan Brown designed ICE for X11R6 in 1994 to end that: one connection, usually a Unix socket under /tmp/.ICE-unix/, over which the parties first negotiate version and byte order, present a MIT-MAGIC-COOKIE-1 from ~/.ICEauthority, and then open one or more sub-protocols on the same wire. Every message carries a header with major and minor opcode and a length in eight-byte units, so several protocols can share the connection without stepping on each other.

The first sub-protocol was XSMP, session management, and it remained the only one to see wide use. KDE put its DCOP on top of libICE in 2000 and ran it that way until D-Bus took over with KDE 4. The library still ships with every X.Org installation, mostly because libSM needs it. The acronym was later recycled by WebRTC for something entirely unrelated, which makes the original nearly impossible to search for.

← Back to the lexicon