Hi everybody,
I'm getting long delays in transmitting a 4096 bytes buffer via Asyncstreams connected to a Socket. Via 3G network the packet is delivered in 4 to 7 seconds, but via WIFI the delay is only a fraction of second. 4G is much smaller. HDSPA is only a small gain...
I've built a server and a client to test this issue, so I'm sure about it. A small buffer like 100bytes gets no delay.
I'd like to send small packets of data, but I don't see any FLUSH instruction to inform the stream to start flushing the buffered output.
I send the 4Kb of data in four chunks 1Kb each, but the driver seems to keep them and send all together! This is not abnormal, but it's not what I want.
Any idea?
Ciao a tutti
Mauro
I'm getting long delays in transmitting a 4096 bytes buffer via Asyncstreams connected to a Socket. Via 3G network the packet is delivered in 4 to 7 seconds, but via WIFI the delay is only a fraction of second. 4G is much smaller. HDSPA is only a small gain...
I've built a server and a client to test this issue, so I'm sure about it. A small buffer like 100bytes gets no delay.
I'd like to send small packets of data, but I don't see any FLUSH instruction to inform the stream to start flushing the buffered output.
I send the 4Kb of data in four chunks 1Kb each, but the driver seems to keep them and send all together! This is not abnormal, but it's not what I want.
Any idea?
Ciao a tutti
Mauro