www.8devices.com
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Author |
Message |
snipor
Joined: 18 Jul 2012, 16:33 Posts: 13
|
Hello
I'm looking for an easy way to control the GPIOs via a TCP connection. I want to open a TCP connection for example to Port 2000 (Carambola should be the Server), and then I want to send a simple command from a Client. Like 17.1 for set GPIO17 to high, or 17.0 to set GPIO17 to low. How could I do that? Does anyone have any sample code?
Thanks a lot
snipor
|
30 Sep 2013, 21:04 |
|
|
gedass
Joined: 07 Dec 2011, 16:01 Posts: 525 Location: Lithuania
|
|
01 Oct 2013, 04:48 |
|
|
snipor
Joined: 18 Jul 2012, 16:33 Posts: 13
|
Unfortunately I cant use http/php. I need a connection via Tcp Port.
|
01 Oct 2013, 09:25 |
|
|
MikaelSundin
Joined: 06 Oct 2013, 11:35 Posts: 2
|
|
06 Oct 2013, 11:39 |
|
|
MikaelSundin
Joined: 06 Oct 2013, 11:35 Posts: 2
|
Here is a code with a tcp server that handling multiple clients. https://wiki.sihnon.net/index.php/Multi ... er_Example
|
06 Oct 2013, 11:45 |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|