Skip to content

Commit c836010

Browse files
author
x
authored
Must be in powers of two, so 32768 not 32000
1 parent 6e32df1 commit c836010

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/2simplebridge.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77
)
88

99
func main() {
10-
zs, err := zsocket.NewZSocket(14, zsocket.ENABLE_RX|zsocket.ENABLE_TX, 32000, 128, nettypes.All)
10+
zs, err := zsocket.NewZSocket(14, zsocket.ENABLE_RX|zsocket.ENABLE_TX, 32768, 128, nettypes.All)
1111
if err != nil {
1212
panic(err)
1313
}
14-
zs2, err := zsocket.NewZSocket(16, zsocket.ENABLE_RX|zsocket.ENABLE_TX, 32000, 128, nettypes.All)
14+
zs2, err := zsocket.NewZSocket(16, zsocket.ENABLE_RX|zsocket.ENABLE_TX, 32768, 128, nettypes.All)
1515
if err != nil {
1616
panic(err)
1717
}

0 commit comments

Comments
 (0)