part string to block of information

J

José Carlos

Hi.

How can i part a big string to block of information of (4Kb for example).?
i´m trying send it from a socket client to server and how can i calculate
the time it´s coming.

Thank you.

Regards.

José Carlos
www.siadv.com
 
R

Rodrigo Benenson

convert the string to a known encoding (or binary format), where each char
has fixed size and play with the lenght.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,176
Messages
2,570,950
Members
47,501
Latest member
log5Sshell/alfa5

Latest Threads

Top