#include "../src/router.h" #include "../src/generic-helper.h" #include struct stringPort{ char *hostname; int port; }; struct stringPort portList[]={ {"me.localhost", 1234}, {"fe.localhost", 1434}, }; int portListLen = sizeof(portList)/sizeof(portList[0]); void selectRoute(struct routeConnInfo req, SSL *ssl){ printf("host: %s",req.hostname); for (int i=0; i