Powershell: Simple TCP Client and Server
Michael Albert
Hi, these are TCP client and server which can simply used for testing if a specific TCP port is open This is the server side. It listens at port 4444 # Server $iPort = 4444 $TCPListener = New-Object System.Net.Sockets.TcpListener($iPort) $TCPListener.Start(); [byte[]]$ReadBytesBuffer = New-Object...