in reply to Socket Keep Alive
I admit I'm a little confused.
Usually code that exchanges information through pipes has one piece of code that opens a socket, writes and reads, and another piece that opens a socket, reads and writes. What I see in your code fragment is a read, a close and a new, which suggests to me that you're not showing us a complete piece of code that works (or doesn't work), which makes it difficult to determine what the problem might be.
Can you explain your design approach and give us a better idea of what's not working?
|
|---|