U
u8526505
I try to write my tcp client to send as many number of bytes as I want
immediately but tcp will not send them until some criteria is met.
After a search of this topic, the mostly mentioned solution is to use
select and autoflush or $|. Another mentions using
syswrite($sock,$buf,1) can work. I've tried all of them but they don't
seem to work. I'm wondering is this a doable task? When we use Telnet
client applications, they can send one character right after when we
hit the keyboard. Does anyone know how they can do it? Thanks.
immediately but tcp will not send them until some criteria is met.
After a search of this topic, the mostly mentioned solution is to use
select and autoflush or $|. Another mentions using
syswrite($sock,$buf,1) can work. I've tried all of them but they don't
seem to work. I'm wondering is this a doable task? When we use Telnet
client applications, they can send one character right after when we
hit the keyboard. Does anyone know how they can do it? Thanks.