SCTP support.
This commit is contained in:
@@ -35,6 +35,10 @@ public:
|
||||
|
||||
void SetSocket(SOCKET sockfd);
|
||||
|
||||
int GetProtocol() const
|
||||
{return m_protocol;}
|
||||
void SetProtocol(int protocol)
|
||||
{m_protocol = protocol;}
|
||||
int GetAddrFamily() const
|
||||
{return m_addrFamily;}
|
||||
void SetAddrFamily(int addrFamily)
|
||||
@@ -53,6 +57,7 @@ public:
|
||||
|
||||
private:
|
||||
SOCKET m_sockfd;
|
||||
int m_protocol;
|
||||
int m_addrFamily;
|
||||
unsigned m_serverPort;
|
||||
sockaddr_storage m_serverSockaddr;
|
||||
|
||||
Reference in New Issue
Block a user