Page 1 of 1

WebSocket example

Posted: Sat Feb 27, 2021 9:42 am
by seulater
Just getting into WebSockets, and was curious if NB had an examples of using it.

Re: WebSocket example

Posted: Sat Feb 27, 2021 11:25 am
by TomNB
Not sure which tool set your using, but in 3.x: \nburn\examples\WebSockets

Re: WebSocket example

Posted: Sat Feb 27, 2021 11:35 am
by seulater
Thanks, I am using the MOD5270B, and because its an old project I had to use Release 2.7.7.
Tried using the latest but way to many compile errors.
Do you think I have to go with the latest to use WebSockets?

Re: WebSocket example

Posted: Sat Feb 27, 2021 12:30 pm
by pbreed
2.7.7 has a websockets.
Look under the examples...

Re: WebSocket example

Posted: Sat Feb 27, 2021 12:39 pm
by seulater
Am i missing something here?

image_2021-02-27_143900.png
image_2021-02-27_143900.png (70.4 KiB) Viewed 6265 times

Re: WebSocket example

Posted: Sat Feb 27, 2021 12:41 pm
by seulater
I found it, the correct path is
C:\nburn\examples\StandardStack\WebSockets

Re: WebSocket example

Posted: Sun Feb 28, 2021 10:13 am
by pbreed
Look under standardstack all the examples that apply to all platforms live under there...
That is where the vast majority of examples live...

Re: WebSocket example

Posted: Sun Feb 28, 2021 10:16 am
by pbreed
Lots of stuff under standard stack....
aes
AutoUpdateFeatures
BoardLock
ClearUserParam
DeviceName
DHCP
DNS
EFFS
Email
Ethernet
ExceptionTryCatch
fdprintf
FTP
gdbdemo
LUA
malloc
multicast
MultiHome
nb-libxively
NetBiosName
NTPClient
NTPSystemRTCDemo
ppp
Profile
RTOS
SaveUserParameters
serial
syslog
TCP
telnetcmd
TFTP
udp
utils
Web
WebClient
WebSockets
Wifi

Some of these effs, web etc.. have multiple sublevels...

Re: WebSocket example

Posted: Sun Feb 28, 2021 10:41 am
by seulater
Yes, I caught that last night. Thank you.