Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Can PH act as a network server? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: April 21 2011 at 14:56 | IP Logged Quote MrGibbage

I use ph_sendsocketdata to send TCP packets to applications, but is there a way to receive data back from the application into PH? This would mean having PH act as a server on that port, so I have a feeling the answer is no.

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: April 29 2011 at 13:11 | IP Logged Quote dhoward

Skip,

The PowerHome Socket Server is designed to receive data sent to it. The socket server (like the webserver) expects data formatted in a particular way and responds based upon the data sent to it. Its primarily designed as a means to remotely control PowerHome from other applications or PC's without the overhead of the webserver.

For generic socket receiving, I would use the Generic Socket plugin. Its documented in the Help file and will fire a trigger whenever socket data is received.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum