SIGIO + TCP communication.



Hi,

I used SIGIO signal when ever soket gets some information and i am
fetching asynchronously. But some scenario sender blocked and receiver
also blocked because buffer is ful and no way emit SIGIO signal to
processor.

i do not know how to resolve this problem.. i thought reading complete
receiver buffer on while loop but it able to read only few packets.

is there any way to check the buffer has some data in this
scenario . ?? Please help me with your guidence.

Thanks in Advance
Ganesh
.



Relevant Pages

  • Re: Deaf CAsyncSocket on Windows Service.
    ... To read them out I need a buffer to ... Short packets at the sender are coalesced into longer packets. ... THe receiver says "I have this much buffer space" and the sender is free to send ... You get an OnReceive notification if there is input data to be read. ...
    (microsoft.public.vc.mfc)
  • Re: question regarding using memcpy
    ... Also how do i retrieve the object s from from the buffer. ... Now i want to retrieve the data at receiver end. ...
    (microsoft.public.vc.language)
  • Re: Virtex 5 Rocketio
    ... then the receiver requires some time with data to resynchronize). ... guess there should be some problem in configuring the GTP tile. ... -- used TX buffer and RX buffer ...
    (comp.arch.fpga)
  • Re: Making sure you receive it all
    ... on the TCP socket level in your app you simply ... Let's say you have a buffer of 4K (the size must be chosen ... packet size and it decodes it from network byte order. ... at the receiver the size in network byte order... ...
    (microsoft.public.win32.programmer.networks)
  • Re: question regarding using memcpy
    ... Also how do i retrieve the object s from from the buffer. ... retrieve the data at receiver end. ...
    (microsoft.public.vc.language)

Loading