Ignore:
Timestamp:
Dec 6, 2010, 9:22:59 PM (16 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
4e49e21
Parents:
10a207c
Message:

refs #1028, tequila server is started on the first available port starting from port number 20458.

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2747 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolsh/tolsh.vfs/lib/tolcomm/tolserver.tcl

    r10a207c ra168f52  
    452452  array set options {
    453453    -port 6669
     454    -shport 20458
    454455    -logfile ""
    455456    -compile ""
    … …  
    467468  }
    468469 
    469   server_attach_data
     470  server_attach_data $options(-shport)
    470471
    471472  log "debug" "shared_tasks(init)=$options(-compile)"
    … …  
    474475}
    475476
    476 proc ::tolserver::server_attach_data {} {
     477proc ::tolserver::server_attach_data { shared_port } {
    477478  package require tequila
    478479  global shared_tasks
    … …  
    480481  global shared_finish
    481482
    482   tequila::open localhost 20458
     483  tequila::open localhost $shared_port
    483484  tequila::attach shared_tasks
    484485  tequila::attach shared_state
Note: See TracChangeset for help on using the changeset viewer.