gen_tcp: lost message

Mickael Remond mickael.remond@REDACTED
Mon Sep 4 14:11:15 CEST 2000

>>>>> "Mickael" == Mickael Remond <mikl@REDACTED> writes:

    > Hi,
    > I am working on an IRC client in Erlang and I get some ping timeout very
    > often.

    > When a lot of data are send to a channel, it seems that I do not receive the
    > PING request from thus server and thus are unable to answer...

    > I have tried both the active and passive mode, but I am still losing data.
    > Is it really possible (I mean are the message queued ?) ?

In fact I think I have some ideas of what is going wrong in my code : too much
time between two accepts. This way the tcp listen queue can be flooded if this
queue is too short...

I will correct my code accordingly, but is it also possible to increase the
size of the tcp listen queue ?


More information about the erlang-questions mailing list