and what i asked someone before, they all said i need to include winsock function liberary or something, the the true is...i don't know how to do it, and even if i include or add it in, i don't know the usage for, then can someone explain for me



Winsock is a Visual Basic OCX and has nothing to do with C++. Especially since you said not MFC or MSVC++, since MS owns the copyright to winsock.