You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from golang-nuts:
Hello,
Sorry that I made you loose your time, I've found the problem, I was
setting SetTimeout wrong, so it always returned because the timeout
was very short. Maybe the error could be clearer, something like a
"read timeout" could be much more useful than this.
Thanks anyway, and sorry again.
2010/9/3 Roger Pau Monn=C3=A9 <royger@gmail.com>:
> I've just pushed a new version, that saves a log of every session with
> every peer, create a "logs" folder inside "wgo" folder, and run
it. I
> see this error in almost every file. Although the program is able to
> download a torrent.
>
> 2010/9/3 Roger Pau Monn=C3=A9 <royger@gmail.com>:
>> I'm using Mac OS X 10.6.4 and amd64 version of go (release
>> 2010-08-25). It happens with this program:
>>
>> http://github.com/royger/wgo (check the Wire.go file)
>>
>> I will try to make a simpler example tomorrow.
>>
>> Thanks, Roger.
>>
>> 2010/9/3 Russ Cox <rsc@golang.org>:
>>>> I'm working with net.Conn (tcp4), and I get a lot of "resource
>>>> temporarily unavailable" using io.ReadFull, what can I do to avoid
>>>> this? Or what should I do when I receive this error?
>>>
>>> You're not supposed to get that error.
>>> Read is supposed to take care of the
>>> blocking for you.
>>>
>>> Can you post a program that demonstrates
>>> the problem, and also say which operating
>>> system and architecture you're using?
>>>
>>> Thanks.
>>> Russ
>>>
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: