iptee had -t and -u the wrong way round: -t switched on UDP mode and -u switched on TCP mode. Not very logical, so this has now been reversed so it works in the expected and documented manner.
Latest Xcode clang compiler pointed out that a (signed) character was compared with an unsigned constant that wouldn't work.
Remove duplicate program ipin (iptee does exactly the same thing)
Add capability for actisense-serial to use a TCP stream as the 'serial' device.
This is useful with a Chetco Digital Instruments SeaSmart device, which contains
an Actisense NGT-1.

If the device name starts with tcp: a TCP stream is opened instead of a local device.

This can be used with a SeaSmart device in RAW ACCEPT mode as follows:

actisense-serial tcp://<host>:10004 | analyzer

where <host> is the DNS name or IP address of the SeaSmart device.