Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


SOCKET unable to collect the package, online, ME Thank you

Linux as a Client Client and Server sent, received the kits :
If ((numbytes=recv (sockfd, buf, MAXDATASIZE, 0)) ====== -1) (perror ( "recv"); Exit (1); )

I MAXDATASIZE large enough, but taking over, and I use the contents of packages under Windows with Delphi's proceedings arising from the write much less, RECV is blocking mode, why so many fewer bytes?
While whether I should use the above sentence will be set up to accept sentence? Keep admission, then conditions will RECV end! ?
Please experienced guidance brothers! ! ! !

SOCKET unable to collect the package, online, ME Thank you

Be used while -- recv (). . . ). In the data because the sender (in particular is a lot of data), the strata may be sub-transmission system

SOCKET unable to collect the package, online, ME Thank you

Can be divided into several packets hair, you should be made aware of several packets, each time interval made little bit larger. I have such a meeting is resolved.

SOCKET unable to collect the package, online, ME Thank you

You give adapter agreement to me, I can help you write and listen to you talk unclear.
If you are udp, then you can have the package too big. Udp/ip because of the limited size of the package.
In the Unix operating system will automatically cut off than the maximum.

SOCKET unable to collect the package, online, ME Thank you

Thank you oh



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com