﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Net;
using System.Net.Sockets;

namespace SNet.Net
{
    public static class TcpExtensions
    {
        public static bool IsValid(this TcpClient Socket)
        {
            if (Socket != null)
            { return true; }
            return false;
        }

        public static bool IsValid(this TcpListener Server)
        {
            if (Server != null)
            { return true; }
            return false;
        }
    }
}
