naz.Client.writer.close() also closes the transport, on which both the naz.Client.writer and
naz.Client.reader are based on. This means that the reader is also closed.
This may not be what we want. When we call naz.Client.shutdown() we want to close the writer,
however; we want to still be able to read. This is because the SMSC may still send the UNBIND_RESP and we want to receive it
Thank you for contributing to naz.
Every contribution to naz is important.
Contributions are under the MIT License.
Answer the following questions,
What(What have you changed?)
Why(Why did you change it?)
naz.Client.writer.close()
also closes the transport, on which both thenaz.Client.writer
andnaz.Client.reader
are based on. This means that the reader is also closed. This may not be what we want. When we callnaz.Client.shutdown()
we want to close the writer, however; we want to still be able to read. This is because the SMSC may still send theUNBIND_RESP
and we want to receive itReferences: