Anonymous
public text v1 · immutableusing System;
using System.Net;
using System.Net.Sockets;
namespace testserver
{
public class test
{
[STAThread]
public static void Main(string[] args)
{
Socket m_listen;
m_listen = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
m_listen.Bind(new IPEndPoint(IPAddress.Any, 10300));
m_listen.Listen(1);
while(true){}
}
}
}