riscos and sockets
Malcolm Hussain-Gambles (1596) 811 posts |
I’m busy writing a jabber client at the moment, however I have noticed that if there is data left to read and I write data, the socket seems screwed up. Most strange, it’s like the socket inside RISC OS is a “simplex” one. I have worked around this by always ensuring the socket is fully “read” before writing – which isn’t a problem (and is probably what I should be doing anyway). But would appreciate comments. If your coding for multiple sockets, it’s essential to ensure you don’t get your sockets entwined. |