/// <summary>
 /// Returns true if the last message received has indicated
 /// that there's more to come (part of a multipart message).
 /// Otherwise false.
 /// </summary>
 /// <param name="source"></param>
 /// <returns>true if last message was a multipart message</returns>
 public static bool HasMoreToRecv(this IZmqSocket source)
 {
     return(source.GetOption <bool>(SocketOpt.RCVMORE));
 }
 public static T GetOption <T>(this IZmqSocket source, SocketOpt option)
 {
     return(source.GetOption <T>((int)option));
 }