Not char array, but simply 2 char pointers. Why does this give me zero in port?
Code:
	char* host;
	int port;
	char* path;
	
	sscanf(someString,"http://%[^:]:%d/%[^\n]",&host,&port,&path);
	printf("%s\n",&host);
	printf("%d\n",port);
	printf("%s\n",&path);