Open Side Menu Go to the Top
Register
Communicate with GTO+ using sockets? Communicate with GTO+ using sockets?

06-26-2021 , 01:56 PM
I emailed Scylla (GTO+/Flopzilla dev) about programmatically perusing solves in GTO+ and he said there is an unsupported way to use sockets to communicate with the solver. I tried his instructions but no luck. I asked him a few clarifying questions which he answered, but no luck and I don't want to bother him to help me debug an unsupported feature.

Has anybody gotten this to work?

Details of my situation:
  1. I placed a file `customconnect.txt` in `C:\ProgramFiles\GTO+\tmp\`
  2. I fire up GTO+ (port set to 55143 as normal)
  3. I start a python repl and run the following code:

    Code:
    >>> import socket
    >>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    >>> s.connect(('localhost', 55143))
    >>> s.recv(512)
    b'~C::1027~'
    This returned bytes value is a code from GTO+ that should not be returned when `customconnect.txt` is in `tmp` (which it is). Instead I should be getting a `welcome to GTO+` message, which I am not getting

Would really appreciate some help on this if anybody knows anything!
Communicate with GTO+ using sockets? Quote

      
m