1

I currently use TCP the method described here: Connection between Node.JS and PHP via UNIX Socket - EPIPE write error

And I see other people are using HTTP instead here: Sending messages from PHP to Node.js

Besides the fact the TCP implementation has slightly less code, and no cURL, are there any disadvantages to using the TCP method? Such as queuing problems for many simultaneous requests or I have no idea, so I'm asking those with experience with this kind of thing if there are any pro's and con's involved between these two implementations of PHP to NODE.JS.

Answers appreciated - silly comments not.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.