using System;
using System.Net;
using System.Net.Sockets;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading.Tasks;
using Shell32;
namespace ReadDirectory
{
class Program
{
staticvoid Main(string[] args)
{
//string path = @"F:\Sofeware\UE4虚幻游戏引擎初学者指南视频教程\UE4 Fundamentals - Module 01";//DirectoryInfo folder = new DirectoryInfo(path);//foreach (FileInfo file in folder.GetFiles("*.class")) {
// Console.WriteLine(file.FullName);//}//Program p = new Program();//p.printVideoAddress(p.videoAddress(path));int recv;
byte[] data = newbyte[1024];
Socket socket = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp);
IPEndPoint ipEnd = new IPEndPoint(IPAddress.Any, 8888);
socket.Bind(ipEnd);
socket.Listen(10);
Console.WriteLine("wating for a client");
Socket