Hi folks, I want to make a simple demo that shows a proof-of-concept, and I need some advice and news of possible hobbit 4.3 ver socket connections.
I have an embedded linux device and a linux server. I have installed both hobbit server and client ver 4.2 successfully.
Now what I want to show is a socket server running on the client ( the embedded device) pushing data to the hobbit server, and thence to my browser on a third machine. I have built a crude socket server for the hobbit client that will do for the demo. So I need to listen on a socket at the server, and write the data to the web page.
- Is there any fundamental issue that I need to know about, or can I just slog through the man pages and code and get what I want?
- Any suggestions that would help me out?
- I don't see CVS instructions for getting the tip of the tree- is there a beta 4.3 that might help me?
thanks very much John
On Friday 20 June 2008 20:24:29 John P. Fisher wrote:
Hi folks, I want to make a simple demo that shows a proof-of-concept, and I need some advice and news of possible hobbit 4.3 ver socket connections.
I have an embedded linux device and a linux server. I have installed both hobbit server and client ver 4.2 successfully.
Now what I want to show is a socket server running on the client ( the embedded device) pushing data to the hobbit server, and thence to my browser on a third machine. I have built a crude socket server for the hobbit client that will do for the demo. So I need to listen on a socket at the server, and write the data to the web page.
Maybe you want to tell us more about what you are trying to achieve.
Are you trying to monitor the embedded device? Or, are you trying to use it to monitor specific hosts and report to the hobbit server?
There may be other solutions to your problem, but I can't understand from the description of your proposed solution what your original problem was.
Regards, Buchan
At the moment I have a crude c-based socket server that can pump <some data> to a socket on another host. So far I just used the socket utility to connect, but I can make a socket-receiver for the hobbit server, in fact I should go ahead and build one.
So you use a separate URL entirely, and don't display the default hobbit data, or do you grab that too and display on your own custom site? That might be easier than learning about hobbit's display?
PLEASE cc me at john (dot) fisher (at) znyx (dot) com - something's not right with my getting mail from this list...
John
Paul said:
What protocol is the device using to send its data to hobbit?
I have (crude) code that pulls data from a hobbit fed mysql dbase then client flash makes graph. Not embedded into hobbit server pages but seperate web server. Paul Krash, system administrator, Exegy, Inc.; 314-218-3602 x 666
oh no wonder I couldn't get a tree. thanks to both of you.
Buchan Milne wrote:
On Monday 23 June 2008 23:45:41 Josh Luthman wrote:
It's a sourceforge project. They always make it easy =)
Except that Henrik doesn't use CVS, and the only content that *is* in CVS on sourceforge.net seems to be some unmaintained Hobbit client ...
On Fri, Jun 20, 2008 at 11:24:29AM -0700, John P. Fisher wrote:
Hi folks, I want to make a simple demo that shows a proof-of-concept, and I need some advice and news of possible hobbit 4.3 ver socket connections.
For a simple proof-of-concept / demonstration system, why don't you just grab a copy of the "netcat" utility and use that ? This will let you set up a simple TCP server or client.
http://netcat.sourceforge.net/
For a programming introduction to socket programming, check out http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html (just skimmed it after doing a Google search for "unix socket programming", but it seems sensible).
Regards, Henrik
sorry this got lost in a spam-storm
Thanks for the suggestion.
John
Henrik Stoerner wrote:
On Fri, Jun 20, 2008 at 11:24:29AM -0700, John P. Fisher wrote:
Hi folks, I want to make a simple demo that shows a proof-of-concept, and I need some advice and news of possible hobbit 4.3 ver socket connections.
For a simple proof-of-concept / demonstration system, why don't you just grab a copy of the "netcat" utility and use that ? This will let you set up a simple TCP server or client.
http://netcat.sourceforge.net/
For a programming introduction to socket programming, check out http://beej.us/guide/bgnet/output/html/singlepage/bgnet.html (just skimmed it after doing a Google search for "unix socket programming", but it seems sensible).
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (4)
-
bgmilne@staff.telkomsa.net
-
henrik@hswn.dk
-
john.fisher@znyx.com
-
john@jpfisher.net