Skip to content

Instantly share code, notes, and snippets.

@Maxwe11
Maxwe11 / AsyncTcp.cs
Last active August 19, 2023 22:17
Async TcpListener/TcpClient example
using System;
using System.Net;
using System.Net.Sockets;
using System.IO;
using System.Threading.Tasks;
public class Program
{
public static void Main(string[] args)
{