Skip to content

Commit

Permalink
- Print a message about what port is being opened if omc is started w…
Browse files Browse the repository at this point in the history
…ith +d=interactive (socket interface)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5223 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Mar 26, 2010
1 parent 1fcc180 commit 233041f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/Main.mo
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,7 @@ algorithm
Interactive.InteractiveSymbolTable symbolTable;
case (_,symbolTable)
equation
print("Opening a socket on port " +& intString(29500) +& "\n");
shandle = Socket.waitforconnect(29500);
_ = serverLoop(shandle, symbolTable);
then
Expand Down

0 comments on commit 233041f

Please sign in to comment.