Skip to content
Snippets Groups Projects
Select Git revision
  • 68119166bb4c716ff29ddb47e03ce65c82433c57
  • main default protected
2 results

connectomnibot.jl

Blame
  • connectomnibot.jl 402 B
    """
        connectomnibot(ip::String;port::Int=9998)
    
    Connect to the omnibot with `ip` and `port`. Return a `TCPSocket` with open connection.
    """
    function connectomnibot(ip::String;port::Int=9998)
        return connect(ip,port)
    end
    
    """
        connectomnibot(ip::IPv4;port::Int=9998)
    
    Also callable with an IPv4 type argument
    """
    function connectomnibot(ip::IPv4;port::Int=9998)
        return connect(ip,port)
    end