Hey everyone, I'm having difficulties again I've had this problem (or a similar one) before, but I don't remember what caused it or if I ever figured out what caused it in the first place. So my problem is, I try calling send() and it returns SOCKET_ERROR. Then I call WSAGetLastError() right after, and it returns 0. Earlier, I had the program log just the return of send() and the return value of WSAGetLastError() and it returned WSAENOTCONN, but I couldn't see any reason that it should be disconnected... then I had it log the gcount() of a ifstream before calling send(), and now WSAGetLastError doesnt say theres an error anymore, even though right before it there's an error... does anybody have any ideas?