> Thanks Lukas for your answer, I tried with ansiString, I may have done
> something wrong but the max size I was receiving was 8192 bytes. I
> will give it another try tonight.

It is because you are using datagram based communication! Each 
datagram have limited maximum size, 8kb in your case. So, you cannot 
receive larger datagram by one call of RecvPacket. It just read one 
pending datagram from the queue.

Your protocol propably divide your bigger data into multiple UDP 
datagrams. It is not good idea, because:

- delivery of UDP datagrams is unreliable. You can lost any datagram 
on the wires without any notification.

- you can read datagrams in different order then they has been sent.

In your case you must join multiple datagrams into your internal 
buffer/stream and then process it.


-- 
Lukas Gebauer.

http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
http://geoget.ararat.cz/ - Geocaching solution


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to