Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2 (permalink)  
Old April 24th, 2002
Gnutella Veteran
 
Join Date: March 24th, 2002
Location: Virginia
Posts: 101
tshdos is flying high
Default

sizeof() returns the total storage bytes of the struct including padded bytes for alignment. It is returning 24 because of a
byte that was added for alignment.

The format of your structure looks fine except payloadID, TTL, Hops, and payloadlen should probably be unsigned.

Last edited by tshdos; April 24th, 2002 at 04:21 PM.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Zip Header Geoff114 General Mac Support 1 November 30th, 2005 08:18 AM
zip header Unregistered Download/Upload Problems 2 June 25th, 2002 07:22 AM
Creating header struct Unregistered General Gnutella Development Discussion 3 April 4th, 2002 08:50 AM
help! zip header?? Unregistered Mac OSX 3 March 28th, 2002 06:10 PM
zip header Unregistered Mac OSX 2 March 18th, 2002 05:53 PM


All times are GMT -7. The time now is 08:06 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.