/// <summary> /// Transmit a specific status-signal over this socket that indicates there is an error. /// </summary> /// <param name="socket">the IOutgoingSocket to transmit on</param> public static void SignalError([NotNull] this IOutgoingSocket socket) { socket.Signal(1); }
/// <summary> /// Transmit a specific status-signal over this socket that indicates OK. /// </summary> /// <param name="socket">the IOutgoingSocket to transmit on</param> public static void SignalOK([NotNull] this IOutgoingSocket socket) { socket.Signal(0); }