Select Git revision
connectomnibot.jl

Felix Agner authored
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