jeff
05-27-2003, 07:37 AM
hi guys, i'm trying to write a client app that does reliable transmission. ie. if the server goes down, the client should keep on trying to transmit until the data gets sent.
sure tcp does reliable transmission, but somehow perl (that's what i'm using)'s send() function always returns even before the actual data gets put onto the wire. This means that if i disconnect the server, the send() will still return as if the data has been sent! The error will only be detected after a few packets, but that's ridiculous.
does anybody know of any modules that i can use? i've tried eg. Net::Telnet, but the same thing happens.
sure tcp does reliable transmission, but somehow perl (that's what i'm using)'s send() function always returns even before the actual data gets put onto the wire. This means that if i disconnect the server, the send() will still return as if the data has been sent! The error will only be detected after a few packets, but that's ridiculous.
does anybody know of any modules that i can use? i've tried eg. Net::Telnet, but the same thing happens.