WebSocket example

Discussion to talk about software related topics only.
Post Reply
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

WebSocket example

Post by seulater »

Just getting into WebSockets, and was curious if NB had an examples of using it.
User avatar
TomNB
Posts: 538
Joined: Tue May 10, 2016 8:22 am

Re: WebSocket example

Post by TomNB »

Not sure which tool set your using, but in 3.x: \nburn\examples\WebSockets
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: WebSocket example

Post 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?
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: WebSocket example

Post by pbreed »

2.7.7 has a websockets.
Look under the examples...
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: WebSocket example

Post by seulater »

Am i missing something here?

image_2021-02-27_143900.png
image_2021-02-27_143900.png (70.4 KiB) Viewed 2689 times
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: WebSocket example

Post by seulater »

I found it, the correct path is
C:\nburn\examples\StandardStack\WebSockets
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: WebSocket example

Post 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...
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: WebSocket example

Post 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...
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: WebSocket example

Post by seulater »

Yes, I caught that last night. Thank you.
Post Reply