>HI
>
>I am using lenb bcoz my string has japaneese characters and hence to
>get the exact length in bytes as japaneese character is more then 1
>bye
Not in Unicode - in Unicode all characters are 2 bytes long
>Thanx for ur suggestion to break data in small chumks and the syntax ,
>Do any one have any idea of about how much data we can send through
>sockets.(winsock control in vb6.0)
If it starts off as a Byte Array then I would send a Byte Array
From VB5 Help File :-
'When a UNICODE string is passed in, it is converted to an ANSI string
before being sent out on the network.'
Simply have a smaller Byte Array and copy in the relevant bytes.
I've no idea of the maximum amount of data you can send, the only
restriction is down to the thing receiving the data
- it could just sit there all day receiving gigabytes