Skip to content

Commit

Permalink
Default connection settings
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviermilla committed May 1, 2024
1 parent 7e74df9 commit 6194b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InteractiveBrokers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Connect to host `host` on port `port` and set client ID `clientId`.
Return a [`Connection`](@ref).
"""
function connect(host, port, clientId, connectOptions::String="", optionalCapabilities::String="")
function connect(host=getalladdrinfo("localhost")[1], port=4002, clientId=1, connectOptions::String="", optionalCapabilities::String="")

s = Sockets.connect(host, port)

Expand Down

0 comments on commit 6194b09

Please sign in to comment.