I'm trying to send a simple string by TCP to control my Denon Amp.

I've been studying the lua code in /usr/share/jive/jive/net
particularly socket.lua, socketTcp.lua, socketHttp.lua and
socketTcp.lua

It looks like there is code called SocketTcp for creating a simple TCP
socket.
But when it comes to send data down the socket, the only fully formed
code seems to be purely HTTP.

I considered hacking the HTTP code to stop it sending headers and
mutilating the body so it just sent what I want, but there has to be a
simpler way.

My OO programming skills are severely lacking and I am struggling to
see the wood for the trees.

I would be eternally grateful if someone could point me in the
direction of how to send a simple text string down a TCP socket?

Thanks,
Bruce.


-- 
Bruce Hartley
------------------------------------------------------------------------
Bruce Hartley's Profile: http://forums.slimdevices.com/member.php?userid=33
View this thread: http://forums.slimdevices.com/showthread.php?t=53357

_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive

Reply via email to