ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Could some one help? i am currently doing a video streaming platform. I have encounter some problems in it. I break down the file into small packets and send it over to the client from the server. It always hang at some stage of the time and i use Ethereal to check the problem. The ethereal last statement was
"Who has 10.0.0.2(client address), tell it to 10.0.0.1(server)". During this process, certain amount of data will be lost. Thus my client will not have to complete set of information. So could someone please find me?
Could you state some information for me, like are you using TCP or UDP? What platform/distro you are using? Are the server and client on the same LAN( im assuming they are since you used ethereal), etc.
Thanks , i using UDP . I connect 2 computer just with a cross cable. They are under the same LAN. I dont know what you mean by platform, i am a new user to Linux system so some terms i dont really know. It just 2 computer connected to each other and do sending and receiving.
Do not use TCP for video frostmagic, you're smart with using UDP. It seems to me that if you are connected directly through
a crossover cable, it must be a bug within your software.
i gladly wish you could look for me, because i need to solve this bug within like 1 week. But my programming skills are very lousy, do a lot things through the long way. If you dont mind. Can i have your email address?
by jinksys Do not use TCP for video frostmagic, you're smart with using UDP.
i agree, i was just saying perhaps his problem was because he didnt realise that udp packets arrive in a random order with some possibly missing and that you have to handle this yourself.
i agree, i was just saying perhaps his problem was because he didnt realise that udp packets arrive in a random order with some possibly missing and that you have to handle this yourself.
I figured that was what ya meant, you're really knowledgable, what kind of schooling do you have?
by jinksys you're really knowledgable, what kind of schooling do you have?
well thankyou but there are a lot of people here who know more than me - david_ross for example.
as far as schooling goes ive never done anything related to computers, im totally self taught. at the moment im just starting my 3rd of 4th year of my masters degree in maths at durham university, england.
Honestly frosty, Ive been really busy with school so I havent been able to actually set up a network and test it. All Ive done so far is look over the code and see how its internals work. I have a question for you though, what is the other included file for? Is it the file you are streaming?
Tonight and tomarrow I am free, so i'll set up a dedicated network for it, and test it.
Hmm , sorry for troubling, hmm , ya it is the streaming file. Now i am only streaming a text file. Once i find the problem in the program , i will be streaming a mpeg file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.