LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How to share socket between processes (https://www.linuxquestions.org/questions/programming-9/how-to-share-socket-between-processes-289978/)

kennthhz 06-24-2020 11:36 AM

Quote:

Originally Posted by jlliagre (Post 1481026)
The file descriptor number is different, but the underlying kernel structure seems to be shared, e.g. seeking the pointer on one side is seen on the other.


I tried the code ([moderated link]) on ubuntu。 recvfd returned invalid argument error. Anyone tried this in linux?

astrogeek 06-24-2020 05:32 PM

Welcome to LQ!

The thread you have replied to has been dormant for 15 years. While there are some good reasons for replying to old threads, your post does not add any useful new information or ask a well formed related question. If you have a similar question please open your own thread and provide the complete context applicable to your use case so that others can provide useful replies without having to guess your situation or make possibly invalid assumptions based on the case described in this thread.

Please review the Site FAQ for guidance in posting your questions and general forum usage. Especially, read the link in that page, How To Ask Questions The Smart Way. The more effort you put into understanding your problem and framing your questions, the better others can help!

Also, the broken link you provided has been moderated.


All times are GMT -5. The time now is 05:54 PM.