dark_mode EN
  • Function XA_Functions -SocketRequest
  • Parameters
    cAddress

    Connection address. This can be an IP address or a URL that can be resolved via DNS.

    nPort

    TCP/IP port to use. Default is 50080.

    cCommand

    Command to send. This will be the parameter that the WDoc:SocketRequest method will ultimately receive.

    nTimeout

    Maximum wait time to establish the connection. Default is 200 milliseconds.

    lAbort

    If true, any error causes a runtime error. Default is true. It is recommended to use a TRY..CATCH block.

  • Return value
    cString

    String of characters returned by the connection.

  • Fichero: zUtil.prg

Function for sending requests to the CGI when it becomes dormant when using its WEngine:Listen method.