|
|
@@ -69,12 +69,6 @@ public:
|
|
|
{
|
|
|
}
|
|
|
|
|
|
- //-----------------------------------------------------------------------------
|
|
|
- ~TCPSocket()
|
|
|
- {
|
|
|
- close();
|
|
|
- }
|
|
|
-
|
|
|
//-----------------------------------------------------------------------------
|
|
|
bool connect(const NetAddress& destination, uint16_t port)
|
|
|
{
|
|
|
@@ -173,12 +167,6 @@ class TCPListener
|
|
|
{
|
|
|
public:
|
|
|
|
|
|
- //-----------------------------------------------------------------------------
|
|
|
- ~TCPListener()
|
|
|
- {
|
|
|
- close();
|
|
|
- }
|
|
|
-
|
|
|
//-----------------------------------------------------------------------------
|
|
|
bool open(uint16_t port)
|
|
|
{
|
|
|
@@ -262,12 +250,6 @@ class UDPSocket
|
|
|
{
|
|
|
}
|
|
|
|
|
|
- //-----------------------------------------------------------------------------
|
|
|
- ~UDPSocket()
|
|
|
- {
|
|
|
- close();
|
|
|
- }
|
|
|
-
|
|
|
//-----------------------------------------------------------------------------
|
|
|
bool open(uint16_t port)
|
|
|
{
|