[protobuf] Issue 199 in protobuf: How can I get the data packet of the right format from Linux in Windows?

2010-06-20 Thread protobuf

Status: New
Owner: ken...@google.com
Labels: Type-Defect Priority-Medium

New issue 199 by baiming...@gmail.com: How can I get the data packet of the  
right format from Linux in Windows?

http://code.google.com/p/protobuf/issues/detail?id=199

As we all know,the byte alignment between Windows System and Linux System  
is defferent.

Take an example as below:
struct Pig
{
  int a;
  char t;
};
in windows system, sizeof(Pig)=??
in linux system, sizeof(Pig)=??
I believe you know what I mean.
Wnen the data packet is passed throught Internet,although the DATA STRUCT  
is the same ,can I get the right data smoothly?


Sorry,I have not found any document on this problem.



--
You received this message because you are subscribed to the Google Groups Protocol 
Buffers group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Issue 199 in protobuf: How can I get the data packet of the right format from Linux in Windows?

2010-06-20 Thread protobuf

Updates:
Status: Invalid

Comment #1 on issue 199 by temporal: How can I get the data packet of the  
right format from Linux in Windows?

http://code.google.com/p/protobuf/issues/detail?id=199

This is exactly what protocol buffers is for.  Try using it.

The issues tracker is not an appropriate place to post questions.  Try the  
discussion group.


--
You received this message because you are subscribed to the Google Groups Protocol 
Buffers group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Re: Issue 199 in protobuf: How can I get the data packet of the right format from Linux in Windows?

2010-06-20 Thread protobuf


Comment #2 on issue 199 by ken...@google.com: How can I get the data packet  
of the right format from Linux in Windows?

http://code.google.com/p/protobuf/issues/detail?id=199

This is exactly what protocol buffers is for.  Try using it.

The issues tracker is not an appropriate place to post questions.  Try the  
discussion group.


--
You received this message because you are subscribed to the Google Groups Protocol 
Buffers group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.