net_write() on Sun Java 7.0
Hi All,
The appliaction on which i have been working is supported for Sun One 6.0 and 6.1. But with Sun Java 7.0 it is giving errors.
My appliaction uses net_write() to write data into Session->csd and thus send it to the client.
I have seen that for Sun Java 7.0 if i write data < 8000 bytes with net_write() it is not able to send it to the client. For a data > 8000 bytes everything works well. This behaviour is just seen for Sun Java 7.0, Sun One 6.1 and 6.0 work fine.
Then I called net_flush() after net_write() and everything started working fine. I think net_flush() is forcing the data to be sent to the client.
But net_flush() is not defined for Sun One 6.0 and so now my appliaction is not running for Sun One 6.0.
Do anyone of you know alternate function present in Sun One 6.0 NASPI which can be used to substitute net_flush() then please let me know.
Does anyone know that there has been some change in function net_write() used in Sun One 6.1 and that used in Sun Java 7.0?

