Comments (2)
BTW, my go installation details:
$ /usr/lib/go-1.10/bin/go version
go version go1.10 linux/amd64
$ /usr/lib/go-1.10/bin/go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/bruno/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/bruno/Dropbox/coap-apps/go"
GORACE=""
GOROOT="/usr/lib/go-1.10"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.10/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build300198286=/tmp/go-build -gno-record-gcc-switches"
from canopus.
Well, as I said, the problem was indeed my inexperience with go...:
$ /usr/lib/go-1.10/bin/go install
$ /usr/lib/go-1.10/bin/go run examples/simple/server.go
2018/03/21 15:13:33 Started CoAP Server [::]:5683
Maybe we should add these detailed steps to the README
file? LD_LIBRARY_PATH
came to me due to my experience with Linux, but it's not obvious, as well as the go install
step. Should I make a PR for that file?
And thanks anyway! This looks like an amazingly complete implementation of CoAP and related RFCs. :)
from canopus.
Related Issues (20)
- [Potential] Security Vulnerabilities within canopus HOT 1
- Not able to run psk client example HOT 4
- src/github.com/zubairhamed/canopus/openssl/include/openssl/e_os2.h:13:11: fatal error: openssl/opensslconf.h: No such file or directory HOT 1
- does coapServer support query_string-like uri?
- Malicious CoAP Messages Causes Server Crashes
- Extended Range Options HOT 4
- Build is broken HOT 2
- Multiple cgo warnings and undefined references
- canopus leaking goroutines
- Problem with DTLS implementation HOT 2
- problem With NewRequest: too many argument HOT 1
- DTLS example out of date? HOT 1
- DTLS client with bad secret hangs with no error
- panic: runtime error: slice bounds out of range
- CBOR and panic on IntValue from OptionContentFormat
- Using without openssl, without DTLS support?
- Optimal client implementation for time series collecting?
- server.NotifyChange for binary data
- DTLS only supports a single request HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canopus.