internet connection, string functions