User Tools

Site Tools


ha:sr201

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
ha:sr201 [16/06/2025 23:15] – [Testing from BASH] andrewha:sr201 [09/07/2026 12:49] (current) – [Testing from BASH] andrew
Line 29: Line 29:
 Below is a quick play about from BASH to test the relay with raw TCP.  ''nc'' is Netcat, a really useful utility to communicate with raw TCP/IP, either to send packets as here, but also you can use it to set up a listener on a port. See the repo link above to work out the data fed to nc from the printf. Using printf as echo by default sends a newline / CR which will upset the module. Below is a quick play about from BASH to test the relay with raw TCP.  ''nc'' is Netcat, a really useful utility to communicate with raw TCP/IP, either to send packets as here, but also you can use it to set up a listener on a port. See the repo link above to work out the data fed to nc from the printf. Using printf as echo by default sends a newline / CR which will upset the module.
 If you're stuck on windows you probably don't have netcat, yet another reason to upgrade to Linux. If you're stuck on windows you probably don't have netcat, yet another reason to upgrade to Linux.
 +
 +Testing a UDP port with ''netcat''
 +<code>
 +netcat -u host port
 +</code>
  
 <code> <code>
ha/sr201.txt · Last modified: by andrew

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki