Browse Source

Change port 8080 to 46658

pull/1780/head
Jae Kwon 9 years ago
parent
commit
7931e2b9ca
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      cmd/counter/main.go
  2. +1
    -1
      cmd/dummy/main.go
  3. +1
    -1
      cmd/tmsp/cli.go
  4. +2
    -2
      example/dummy_test.go

+ 1
- 1
cmd/counter/main.go View File

@ -9,7 +9,7 @@ import (
func main() {
// Start the listener
_, err := server.StartListener("tcp://127.0.0.1:8080", example.NewCounterApplication())
_, err := server.StartListener("tcp://127.0.0.1:46658", example.NewCounterApplication())
if err != nil {
Exit(err.Error())
}


+ 1
- 1
cmd/dummy/main.go View File

@ -9,7 +9,7 @@ import (
func main() {
// Start the listener
_, err := server.StartListener("tcp://127.0.0.1:8080", example.NewDummyApplication())
_, err := server.StartListener("tcp://127.0.0.1:46658", example.NewDummyApplication())
if err != nil {
Exit(err.Error())
}


+ 1
- 1
cmd/tmsp/cli.go View File

@ -26,7 +26,7 @@ func main() {
app.Flags = []cli.Flag{
cli.StringFlag{
Name: "address",
Value: "tcp://127.0.0.1:8080",
Value: "tcp://127.0.0.1:46658",
Usage: "address of application socket",
},
}


+ 2
- 2
example/dummy_test.go View File

@ -16,13 +16,13 @@ func TestStream(t *testing.T) {
numAppendTxs := 200000
// Start the listener
_, err := server.StartListener("tcp://127.0.0.1:8080", NewDummyApplication())
_, err := server.StartListener("tcp://127.0.0.1:46658", NewDummyApplication())
if err != nil {
Exit(err.Error())
}
// Connect to the socket
conn, err := Connect("tcp://127.0.0.1:8080")
conn, err := Connect("tcp://127.0.0.1:46658")
if err != nil {
Exit(err.Error())
}


Loading…
Cancel
Save