Socket recv function taking longer time
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Fri Dec 26 09:12:37 EST 2008
En Fri, 26 Dec 2008 11:36:15 -0200, <reachrekhakn at gmail.com> escribió:
> I have designed a recieving system in C. I have used the sockets
> recv function. The problem I m facing is that the sending system does
> not wait for the ACK(the amount of time it waits 4 the Ack is too less
> as the recv takes more time to read the msg), it keeps on sending the
> same msg again and again even before the recv func has read the whole
> message and my recieving system gets hanged. How do I solve this.
I don't understand the problem. If the receiving side is in C, I guess the
sending side is written in Python? Then just wait for the ACK from the
other side for a longer time... Or try to explain better what's your
problem - posting some code would be good.
--
Gabriel Genellina
More information about the Python-list
mailing list