I need to send stuff on a tcp socket from different processes.
Is it allowed to send simultaneously on same socket? If not, how sychonization can be achieved?
I need to send stuff on a tcp socket from different processes. Is it
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, a socket behaves like a process, accepting messages from any other process. Just be aware, if the order of messages is important, that the order of messages sent cannot be guaranteed (only the order of messages per sending process).