Client.cs (Server)

For easier viewing download the code on the my code page or copy and paste into your IDE.

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

namespace Capstone_Networking_Project_Test_0
{
    class Client
    {
        public IPEndPoint Ep { get; private set; }
        public int Index { get; private set; }
        public int TrainIndex { get; set; }
        public bool IsConnected { get; set; }
        public Client(IPEndPoint _ep, int _index) { Ep = _ep; Index = _index; IsConnected = true; TrainIndex = -1; }
    }
}
css.php