Ok, how is everybody doing sockets these days. Im still back in the stone age printf'ing into a buffer, and sending the buffer. Is it possible in this great new day and age to use streams to do socket io? like mystream << mysocket, or std::getline(mysocket,mystring,widen('\n'));? If anybody has a better way to do socket io using winsucks...erm... winSOCKS, im deffinetly interested in finding a better way than old sprintf(mybuff, "somestuff\r\n"); send(mysock,mybuff,strlen(mybuf),0);
Thanks for your time.