text: #include <iostream>
  
  #define ENET_IMPLEMENTATION
  #include "enet_single.h"
  
  int main(int argc, char** argv) {
      
      if (enet_initialize() != 0)
      {
          printf("An error occurred while initializing ENet.\n");
          return 0;
      }
      
      ENetAddress address;
      ENetHost * server;
      
      /* Bind the server to the default localhost.     */
      /* A specific host address can be specified by   */
      /* enet_address_set_host (& address, "x.x.x.x"); */
      address.host = ENET_HOST_ANY;
      /* Bind the server to port 1234. */
      address.port = 1234;
      server = enet_host_create(& address /* the address to bind the server host to */, 
                                32      /* allow up to 32 clients and/or outgoing connections */,
                                2      /* allow up to 2 channels to be used, 0 and 1 */,
                                0      /* assume any amount of incoming bandwidth */,
                                0      /* assume any amount of outgoing bandwidth */);
      if (server == NULL)
      {
          printf("An error occurred while trying to create an ENet server host.\n");
          enet_deinitialize();
          return 0;
      }
      
      printf("Successfully created a server on port 1234. Shutting down.");
      
      enet_host_destroy(server);
      enet_deinitialize();
      
      return 0;
  }