Added the TcpListener::Close function

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1585 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-10-26 19:38:26 +00:00
parent 16d986c762
commit 61dc7e0100
3 changed files with 30 additions and 6 deletions

View file

@ -87,6 +87,14 @@ Socket::Status TcpListener::Listen(unsigned short port)
}
////////////////////////////////////////////////////////////
void TcpListener::Close()
{
// Simply close the socket
Socket::Close();
}
////////////////////////////////////////////////////////////
Socket::Status TcpListener::Accept(TcpSocket& socket)
{