I am designing a little console based chat program using winsock. the winsock part of the program works, it transfers screennames correctly but when i try to send a message it crashes due to the input stream, i believe. i think the problem is with my cin.get() and cin.ignore() functions. check out my code and lemme know if you see a problem. if you want to compile this program it requires Mpr.lib and Wsock32.lib