#include <netdb.h>
#include <arpa/inet.h>
-int atoport( char *service, char *proto);
+#include <string>
+using std::string;
+
+int atoport(const string &service, const string &proto);
struct in_addr *atoaddr(char *address);
int get_connection(int socket_type, u_short port, int *listener);
int make_connection(char *service, int type, char *netaddress);