On Mon, 18 Aug 2003, DANDY King wrote:

> hello
>
>
> our product is DVR(digital video recorder), it runs on linux system.
> i am sending very imp inofrmation to server through sockets. some time i am
> getting full data, some time i am getting partial data.
> i don't know reasons please advice.
> client side we uses VC++ GUI. client sending data neatly. in client  side
> what i did

And that is related to FreeBSD... how?

>
> while((nread = read(fd,buff,BUFFSIZE)) >0)
>               send(sockfd,buff,nread,0);
>
> in server same data should receive.

Wrong.  You are not qualified to work on that product before taking at
least "socket network programing 101".  Hint: "short write".

> but some time i am receiveing full and some time 90% only
>
> please advice

Please post the name of the "product" and the company you work for, so
I can stay way clear of both.

>
> Dharanish
>
> _________________________________________________________________
> MSN Hotmail now on your Mobile phone.
> http://server1.msn.co.in/sp03/mobilesms/ Click here.
>
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to