Re: Re: Packets to big error

Daniel Cunha <[email protected]> Fri, 16 Oct 2009 07:23:24 -0300
Newsgroups gmane.network.gnutella.devel
Message-ID <[email protected]>
[email protected] wrote:
> Quoting Daniel Cunha <[email protected]
> <mailto:daniel.ccunha%40gmail.com>> from ml.gnutella.dev-forum:
> :The handshake and the ping and pong messages are working good,
> :apparently. The problem arrives when query messages are send, I receive
> :from the other side a message complaining about my packet size.
> 
> Are you sure this is due to your query messages?

You are right, it wasn't. I realize that I used a method to send packets
that appends a "\n" at the end of the string.

> The length is properly little-endian encoded, and is correct (9 bytes).
> The minimum speed is correctly encoded as big-endian.
> The search criteria is correctly NUL-terminated.
> 
> I do not see any error in that packet.

OK. Thanks, it works fine now.



Daniel Cunha