Comments (3)
Hey @sktechnology, thanks for bringing this up 👍
I am not 100% sure what you're trying to achieve here. Maybe take a look at reactphp/http or clue/reactphp-http-proxy if you're using HTTP. You can also post your question at stackoverflow for more help.
I hope this helps as a starting point. If this is not the case, you can provide us some more information about your use case and your code input and the output you're receiving.
from socket.
Hi @SimonFrings thx for your reply, i try to make communication beetween 2 socket. 1 socket is the server and waiting for connection when the connection is done the data need to be transfered to the second socket this socket connect to another port. the connexion is done by TCP, I dont know if i can use http for handle the data.
from socket.
@sktechnology Hi and welcome to @reactphp!
Your question is very broad at the moment, so I can only assume you're looking for the pipe()
method to forward data from one connection to another connection in some kind of application that resembles a proxy server. If you can ask more specific questions, I'm sure this is something we can help with, but as it stands answering your question pretty much entails implementing your entire project. I also provide professional support, so I invite you to check out my profile if you're interested, but I'm sure you understand that this is somewhat out of scope for this issue tracker.
I hope this helps! 👍 I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can always reopen this 👍
from socket.
Related Issues (20)
- Keep tcp connection alive HOT 2
- Certificates using mkcet fail handshake HOT 4
- Additional suggestion HOT 2
- Get write response HOT 2
- Problem with DNS request in socket connector HOT 3
- Socket server need to restart on day start HOT 11
- verify_peer should default to false for React\Socket\Server using TLS context HOT 1
- TcpConnector - are writes buffered or sent immediately? HOT 10
- Listening multiple socket chanels on the same server HOT 2
- Write never send data HOT 2
- Failed tests with OpenSSL 3 HOT 5
- EventBase::loop(): kevent: Bad file descriptor HOT 6
- [Security] Response size limitation HOT 2
- [v1.11.0] Accessing array offset on null value - Failed TCP connection without ext-sockets HOT 2
- How to handle socket connection on Server HOT 4
- Interactive client example? HOT 2
- How to deploy the server? HOT 1
- Memory leak in TcpServer due to PHP stream_context_create memory leak HOT 5
- Roadmap to reactphp/socket v3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socket.