I've been plugging away with my sockets. I've set up tests, and read nothing. I've come to the conclusion something must be wrong when I start opening the sockets. As I've downloaded other example sources and edited them to use exactly what i've got to open to the address. This is what I have. Any help would be grand.
Code:
char szServer[] = "darkmists.org";
short nPort = 2222;
char hFrom[500];
do_winsock();
make_connection(szServer,nPort);
read_from_socket(hFrom,256);
printf("\nData received: %s", hFrom);
do_specs();
printf("specs sent. Initiating autorolling.\n\r");
check_autoroller();
close_connection();
shutdown_winsock();