An event-driven socket server for a telemetric device