in reply to two-way socket works once only?
Is it even possible to go from read, to write, to read, to write on the same socket?"
Yes, unless either end closes the socket. Reading and writting is completely independant. Do you have code to show us so we can help you debug? Don't forget to flush (or autoflush) commands and responses to make sure the other end gets it when you expect the other end to get it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: two-way socket works once only?
by ikegami (Patriarch) on Nov 23, 2004 at 19:05 UTC | |
by wolfger (Deacon) on Nov 23, 2004 at 19:35 UTC | |
by ikegami (Patriarch) on Nov 23, 2004 at 19:51 UTC | |
by wolfger (Deacon) on Nov 23, 2004 at 20:07 UTC | |
by ikegami (Patriarch) on Nov 23, 2004 at 22:15 UTC | |
|