NetMQ.OutgoingSocketExtensions.TrySendFrame C# (CSharp) Method

TrySendFrame() public static method

Attempt to transmit a single frame on socket. If message cannot be sent within timeout, return false.
public static TrySendFrame ( [ socket, System.TimeSpan timeout, [ data, bool more = false ) : bool
socket [ the IOutgoingSocket to transmit on
timeout System.TimeSpan The maximum period of time to try to send a message.
data [ the byte-array of data to send
more bool set this flag to true to signal that you will be immediately sending another frame (optional: default is false)
return bool
        public static bool TrySendFrame([NotNull] this IOutgoingSocket socket, TimeSpan timeout, [NotNull] byte[] data, bool more = false)
        {
            return TrySendFrame(socket, timeout, data, data.Length, more);
        }

Same methods

OutgoingSocketExtensions::TrySendFrame ( [ socket, System.TimeSpan timeout, [ data, int length, bool more = false ) : bool
OutgoingSocketExtensions::TrySendFrame ( [ socket, [ data, bool more = false ) : bool
OutgoingSocketExtensions::TrySendFrame ( [ socket, [ data, int length, bool more = false ) : bool