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:
parent
16d986c762
commit
61dc7e0100
3 changed files with 30 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue