Added the getPort() method
This commit is contained in:
parent
6ffe25ec3b
commit
a95a387d30
@ -27,6 +27,11 @@ class TCPServer
|
|||||||
{
|
{
|
||||||
return _maxClient;
|
return _maxClient;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsigned int getPort() const
|
||||||
|
{
|
||||||
|
return _port;
|
||||||
|
}
|
||||||
|
|
||||||
uint8_t getConnectedClientsCount()
|
uint8_t getConnectedClientsCount()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user