Skip to content

Commit 08405f0

Browse files
Adding TCP socket toggle instructions
1 parent b0ef79c commit 08405f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -435,16 +435,16 @@ CGO_ENABLED=1 go build -tags "posix_mq,cgo_sqlite" -o bin/pmond cmd/pmond/pmond.
435435
```
436436

437437
### Unix Sockets
438-
Less performant than the default shared memory implementation and the posix_mq implementation
438+
Significantly less performant than the default shared memory implementation and posix_mq implementation. It also has the capability of utilizing TCP cockets with additional build flags (currently: `build -tags net,network`).
439439

440440
```bash
441441
BUILD_FLAGS="-tags net" make build
442442
```
443443

444444
Or without using the Makefile:
445445
```bash
446-
CGO_ENABLED=0 go build -tags shmem -o bin/pmon3 cmd/pmon3/pmon3.go
447-
CGO_ENABLED=0 go build -tags shmem -o bin/pmond cmd/pmond/pmond.go
446+
CGO_ENABLED=0 go build -tags net -o bin/pmon3 cmd/pmon3/pmon3.go
447+
CGO_ENABLED=0 go build -tags net -o bin/pmond cmd/pmond/pmond.go
448448
```
449449

450450
<a name="section_problems"></a>

0 commit comments

Comments
 (0)