22 lines
456 B
C#
22 lines
456 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Net;
|
|
|
|
namespace NeonTea.Quakeball.Net {
|
|
public class Connection {
|
|
|
|
public IPEndPoint Endpoint;
|
|
public ConnectionStatus Status = ConnectionStatus.Establishing;
|
|
|
|
public Connection(IPEndPoint endpoint) {
|
|
this.Endpoint = endpoint;
|
|
}
|
|
}
|
|
|
|
public enum ConnectionStatus {
|
|
Establishing,
|
|
Ready,
|
|
Closed,
|
|
}
|
|
}
|