NEW FEATURE: Add a Socket object or device to support TCP/IP communications. [16877]

Follow

Comments

4 comments

  • Avatar
    Kamil Kanas

    How to write a byte to socket device?

    Any examples?

    Thanks,

     

     

  • Avatar
    David McFarlane

    I think the sentence should read, "The first solution is to write a custom DLL to call from E-Basic Script."  E-Prime is not capable of producing .dll files at all, it can only call DLL functions developed using another platform such as C or C++.

  • Avatar
    David McFarlane

    I can send data from E-Prime via either UDP or TCP, but cannot receive data via either protocol.  In particular, I cannot start a TCP sender until E-Prime is ready to receive, and E-Prime will not run at all if something is not already running at the port for the Socket device, so it's a bit of a chicken & egg problem.  What tests did PST run to verify that the Socket device can receive data, and how could we duplicate those tests ourselves?

  • Avatar
    David McFarlane

    Aha, I can get the Socket device to receive TCP packets if I first start a listener (e.g., with netcat), then I can send data from the external "listener" back to E-Prime.

Please sign in to leave a comment.

Powered by Zendesk