When I put a breakpoint on the last line of the Create function, the socket is fine. However, as soon as that function ends before I even call Connect, the socket has closed.Code:class Net{ Create(); Connect(); SOCKET s; ... } main() { Net n; n.Create(); n.Connect(); }