text: //
  // Copyright 2020 NanoMQ Team, Inc. <jaylin@emqx.io>
  //
  // This software is supplied under the terms of the MIT License, a
  // copy of which should be located in the distribution where this
  // file was obtained (LICENSE.txt).  A copy of the license may also be
  // found online at https://opensource.org/licenses/MIT.
  //
  
  #ifndef NNG_PROTOCOL_REQREP0_REP_H
  #define NNG_PROTOCOL_REQREP0_REP_H
  
  #ifdef __cplusplus
  extern "C" {
  #endif
  
  NNG_DECL int nng_nano_tcp0_open(nng_socket *);
  
  #ifndef nng_nano_tcp_open
  #define nng_nano_tcp_open nng_nano_tcp0_open
  #endif
  
  
  #define NNG_NANO_TCP_SELF 0x31
  #define NNG_NANO_TCP_PEER 0x30
  #define NNG_NANO_TCP_SELF_NAME "nano_rep"
  #define NNG_NANO_TCP_PEER_NAME "nano_req"
  
  #ifdef __cplusplus
  }
  #endif
  
  #endif // NNG_PROTOCOL_REQREP0_REP_H
  