Socket Connections with PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • H_a_m_m_o

    #1

    Socket Connections with PHP

    Hello All. At the moment I have written a Temperature Server (takes
    readings from serial ports). Now I have a socket connection open on
    this server that receives client connections which either INSERT or
    VIEW. Now, I want to be able to connect to this server and input "view
    \r\n" and capture the output. I was wondering if someone could give me
    a good example of this in action or a good website about this.

    Thanks and Regards,

    Adam

  • =?ISO-8859-15?Q?Iv=E1n_S=E1nchez_Ortega?=

    #2
    Re: Socket Connections with PHP

    H_a_m_m_o wrote:
    Hello All. At the moment I have written a Temperature Server (takes
    readings from serial ports). Now I have a socket connection open on
    this server that receives client connections which either INSERT or
    VIEW. Now, I want to be able to connect to this server and input "view
    \r\n" and capture the output. I was wondering if someone could give me
    a good example of this in action or a good website about this.


    Do read "Example 2257. Socket example: Simple TCP/IP client".

    --
    ----------------------------------
    Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

    "I have read your book and much like it."
    - Moses Hadas (1900-1966)

    Comment

    Working...