Socket Send help needed

Mickael Remond mickael.remond@REDACTED
Tue Sep 11 13:14:50 CEST 2001


I am currently rewriting Manderlbot, an Erlang IRC bot, to make it more easily 

But there is still one problem that I cannot find any valid answer.

The bot is working well, but after a while without having send any data on the 
channel, the first message seems to be lost.
This means that the gen_tcp:send works correctly from my program point of view 
and its return value is ok.
But the first message does seem to reach the server (It never goes on the 
channel). If I do immediatly a new gen_tcp:send, the second send is working.
So it seems that the first send is lost...

Is there a socket expert here that could explain me what I might be missing ?

Mickaël Rémond

More information about the erlang-questions mailing list