thank you tour,
we assigned null at end using StrCat(buff1,NULL);
buff1 declared as MemPtr and this pointer resized dynamically.
it is giving memory error
thanks again waiting for u r reply
> the string must be ended with NULL.
> Receive(sock) can not mke sure of it
> > here is code
> > MemPtr Rdata;
> > Char *pc;
> > Rdata=Receive(sock);
> > pc=(Char*)Rdata;
> > pc=StrStr(pc,"\015\012\015\012");
> >
> > --help would be appreciated
> >
> > SVBN MURTHY
> >
> >
> >
> > ____________________________________________________________________
> > Get free email and a permanent address at http://www.netaddress.com/?N=1
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/tech/support/forums/
> >
> h�)ߢ���*'�{��x-��ږ`�h��Ţ�������칻�&ަW���z����
> Z�j,r��u����!�˩�����+�k?
______________________________________________________
123India.com - India's Premier Portal
Get your Free Email Account at http://www.123india.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/