I've created this thin wrapper class for a socket project that I'm working on. Can someone review my class and give me some points on if I'm on right track?
#include <iostream>
#include <WinSock2.h>
const int MAX_RECV_LEN = 8096;
const int MAX_MSG_LEN= 1024;
const int PORT_NUM = 1200;
class Sokect
{
private:
Sokect(){}
void setSocketID(int socketFb){socketID = socketFb;}
int portNum;
int socketID;
int blockFlag;
int bindFlag;
public:
Sokect(int);
~Sokect(){
closesocket(socketID);
}
void setReuseAddr(int);
void getReuseAddr(int);
void setKeepAlive(int);
void getKeepAlive(int);
void setLingerOnOff(bool);
void getLingerOnOff(bool);
void setLingerSecond(int);
void getLingerSecond(int);
void setSocketBlockFlag(int);
void getSocketBlockFlag(int);
//size of send & Receive Buffer
void setSendBufferSize(int);
void getSendBufferSize(int);
void setReceiveBuffferSize(int);
void getReceiveBuffferSize(int);
int getSocketID() {return socketID;}
int getPortNum() {return portNum;}
friend ostream& operator<<(ostream&,mySocket&);
//get systems error
void detectErrorOpenWinSocket(int*,string&);
void detectErrorSetSocketOption(int*,string&);
void detectErrorGetSocketOption(int*,string&);
};