CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

TCP/IP problem with Windows 7 (IP Header is 24 bytes)

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
sarodrig



Joined: 14 Aug 2009
Posts: 6
Location: Seattle, WA, USA

View user's profile Send private message

TCP/IP problem with Windows 7 (IP Header is 24 bytes)
PostPosted: Thu Mar 03, 2011 3:32 pm     Reply with quote

My board works just fine with Windows XP. However, when I connect it to a Windows 7 machine, the IP header is increased by 4 bytes ("Options" bytes at the very end of the field, just before the TCP/IP header starts). While the length byte in the IP header appears to account for this, the data field still ends up off by 4 bytes. In other words, my TCPGet function starts returning values on the 4 bytes before my data starts, and the last 4 bytes are cut off.

I assume this is a bug in the TCP/IP stack. I'm using CCS' version of the Microchip v3.75 stack on a PIC18F67J60. We've worked around this for now by just padding our data field with 4 bytes at the end, but this is a band-aid solution.

Has anyone else had this problem? Is there an easy fix?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group