Inet_Mode — specify whether Interchange server should open an INET socket and listen on a port
Specify whether the Interchange server should open an INET-domain socket and
listen on some port (7786 by default). The port can be
changed with the TcpMap directive.
This configuration directive can be overridden using
interchange -i switch on the command line.
In general, you will need Interchange INET mode when the Web and Interchange server are not the same machine.
The default port number, 7786, was chosen since it
represents the ASCII numbers of letters M and
V. (Interchange was once called MiniVend).
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 418 (context shows lines 408-413)
['Inet_Mode', 'yesno', (
defined $Global::Inet_Mode
||
defined $Global::Unix_Mode
)
? ($Global::Inet_Mode || 0) : 'No'],
Source: lib/Vend/Config.pm
Line 5434 (context shows lines 5434-5446)
sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/ || m/^on/i) {
return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/ || m/^of/i) {
return 0;
}
else {
config_error("Use 'yes' or 'no' for the $var directive\n");
}
}