Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Symbian > Re: Receiving d...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 103 of 156
Post > Topic >>

Re: Receiving data with size not multiple of 8 bytes

by "Bo Rydberg" <bo nospace l nospace ry.hot@[EMAIL PROTECTED] > Oct 26, 2004 at 09:15 PM

Hi Cristian,



Try iReceivedData->Des().SetLength(iRecvSize) followed by creating your
own 
TPtr8 from your iReceiveData setting its maximum length to iRecvSize.
After 
Recv completes everything should be correct.



Alternative:



There should also be a version of Recv that takes a maximum length
parameter 
for you but I'm not able to check that.

-- 
Regards // Bo
 




 2 Posts in Topic:
Receiving data with size not multiple of 8 bytes
cris_miron@[EMAIL PROTECT  2004-10-26 06:08:22 
Re: Receiving data with size not multiple of 8 bytes
"Bo Rydberg" &l  2004-10-26 21:15:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 16:28:40 CDT 2008.