Socket recv function taking longer time

R

reachrekhakn

Hi,

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.
Please Help.

Thanks in Advance.
 
G

Gabriel Genellina

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,955
Messages
2,570,117
Members
46,705
Latest member
v_darius

Latest Threads

Top