Initial handshake and network game start. Works with multiple clients. Not yet stable, because it is not thread-safe. GUI callbacks not complete yet (server dialog not updated).

This commit is contained in:
lotodore
2007-03-20 02:20:50 +00:00
parent 5f7ff8ca54
commit ef10602d5c
33 changed files with 731 additions and 113 deletions
+2 -5
View File
@@ -33,14 +33,11 @@ public:
{return m_sockfd;}
void SetSocket(SOCKET sockfd)
{m_sockfd = sockfd;}
const sockaddr_storage *GetSockaddr() const
{return &m_sockaddr;}
sockaddr_storage *GetSockaddr()
{return &m_sockaddr;}
SOCKET ReleaseSocket();
private:
SOCKET m_sockfd;
sockaddr_storage m_sockaddr;
};
#endif