Tag Info

New answers tagged


Here's a little Powershell for you... should be compatible with any version of PS... maybe PSv2 or better. Works with either host names or IP addresses. Function Send-StringOverTcp ( [Parameter(Mandatory=$True)][String]$DataToSend, [Parameter(Mandatory=$True)][String]$Hostname, [Parameter(Mandatory=$True)][UInt16]$Port) { Try { ...


you can use PuTTY for this, select the raw connection option. Telnet may also work for you telnet server port


Simply, netcat -l -c "printf 'HTTP/1.1 200 OK\r\n'" -p 8000 printf interprets '\r' and '\n' as escape sequences. echo does not.

Top 50 recent answers are included