go.nanomsg.org/mangos/v3@v3.4.3-0.20240217232803-46464076f1f5/macat/macat.1 (about)

     1  .TH "macat" 1 "February 11, 2015" "mangos " "mangos"
     2  .SH NAME
     3  macat \- command line interface to the mangos messaging library
     4  .SH SYNOPSIS
     5  macat  [\-v|\-\-verbose] [\-q|\-\-silent] [\-\-push] [\-\-pull] [\-\-pub] [\-\-sub] [\-\-req] [\-\-rep] [\-\-surveyor] [\-\-respondent] [\-\-bus] [\-\-pair] [\-\-star] [\-\-bind ADDR] [\-\-connect ADDR] [\-X|\-\-bind-ipc PATH] [\-x|\-\-connect-ipc PATH] [\-L|\-\-bind-local PORT] [\-l|\-\-connect-local PORT] [\-\-subscribe PREFIX] [\-\-recv-timeout SEC] [\-\-send-timeout SEC] [\-d|\-\-send-delay SEC] [\-\-raw] [\-A|\-\-ascii] [\-Q|\-\-quoted] [\-\-msgpack] [\-i|\-\-interval SEC] [\-D|\-\-data DATA] [\-F|\-\-file FILE] [\-E|\-\-cert FILE] [\-\-key FILE] [\-\-cacert FILE] [\-k|\-\-insecure] [\-\-help]
     6  .SH DESCRIPTION
     7  The macat command is a command-line interface to
     8  send and receive
     9  data via the mangos implementation of the SP (nanomsg) protocols.  It is
    10  designed to be suitable for use as a drop-in replacement for nanocat(1).
    11  
    12  .SH OPTIONS
    13  .TP
    14  \-v,\-\-verbose
    15  Increase verbosity
    16  .TP
    17  \-q,\-\-silent
    18  Decrease verbosity
    19  .TP
    20  \-\-push
    21  Use PUSH socket type
    22  .TP
    23  \-\-pull
    24  Use PULL socket type
    25  .TP
    26  \-\-pub
    27  Use PUB socket type
    28  .TP
    29  \-\-sub
    30  Use SUB socket type
    31  .TP
    32  \-\-req
    33  Use REQ socket type
    34  .TP
    35  \-\-rep
    36  Use REP socket type
    37  .TP
    38  \-\-surveyor
    39  Use SURVEYOR socket type
    40  .TP
    41  \-\-respondent
    42  Use RESPONDENT socket type
    43  .TP
    44  \-\-bus
    45  Use BUS socket type
    46  .TP
    47  \-\-pair
    48  Use PAIR socket type
    49  .TP
    50  \-\-star
    51  Use STAR socket type
    52  .TP
    53  \-\-bind ADDR
    54  Bind socket to ADDR
    55  .TP
    56  \-\-connect ADDR
    57  Connect socket to ADDR
    58  .TP
    59  \-X,\-\-bind-ipc PATH
    60  Bind socket to IPC PATH
    61  .TP
    62  \-x,\-\-connect-ipc PATH
    63  Connect socket to IPC PATH
    64  .TP
    65  \-L,\-\-bind-local PORT
    66  Bind socket to TCP localhost PORT
    67  .TP
    68  \-l,\-\-connect-local PORT
    69  Connect socket to TCP localhost PORT
    70  .TP
    71  \-\-subscribe PREFIX
    72  Subcribe to PREFIX (default is wildcard)
    73  .TP
    74  \-\-recv-timeout SEC
    75  Set receive timeout
    76  .TP
    77  \-\-send-timeout SEC
    78  Set send timeout
    79  .TP
    80  \-d,\-\-send-delay SEC
    81  Set initial send delay
    82  .TP
    83  \-\-raw
    84  Raw output, no delimiters
    85  .TP
    86  \-A,\-\-ascii
    87  ASCII output, one per line
    88  .TP
    89  \-Q,\-\-quoted
    90  Quoted output, one per line
    91  .TP
    92  \-\-msgpack
    93  Msgpacked binay output (see msgpack.org)
    94  .TP
    95  \-i,\-\-interval SEC
    96  Send DATA every SEC seconds
    97  .TP
    98  \-D,\-\-data DATA
    99  Data to send
   100  .TP
   101  \-F,\-\-file FILE
   102  Send contents of FILE
   103  .TP
   104  \-E,\-\-cert FILE
   105  Use certificate in FILE for SSL/TLS
   106  .TP
   107  \-\-key FILE
   108  Use private key in FILE for SSL/TLS
   109  .TP
   110  \-\-cacert FILE
   111  Use CA certicate(s) in FILE for SSL/TLS
   112  .TP
   113  \-k,\-\-insecure
   114  Do not validate TLS/SSL peer certificate
   115  .TP
   116  \-\-help
   117  show usage message
   118  .SH AUTHOR
   119  Garrett D'Amore