Does the "-live" option actually accept a handle ? because it appears to think "com2" is an initialisation file:
Yes, a com handle is a number. Because you're not passing a number,
but rather a string ("com2"), sexpots assumes you just mean to use
"-live" without a handle and the argument following is parsed as an additional argument, thus a configuration filename.
The handle value would be ephemeral (not predictable) and a value
returned by the original program that opened the com port (e.g. via
open() or OpenFile()). So... likely not '2' either. --
Does the "-live" option actually accept a handle ? because it appears to think "com2" is an initialisation file:
Yes, a com handle is a number. Because you're not passing a number,
but rather a string ("com2"), sexpots assumes you just mean to use "-live" without a handle and the argument following is parsed as an additional argument, thus a configuration filename.
Could you have used a socket or pipe instead ?
The handle value would be ephemeral (not predictable) and a value returned by the original program that opened the com port (e.g. via open() or OpenFile()). So... likely not '2' either. --
Ah ok. Oh well, I doubt DOS returns a handle.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 547 |
Nodes: | 16 (2 / 14) |
Uptime: | 67:10:23 |
Calls: | 10,398 |
Files: | 14,067 |
Messages: | 6,417,562 |