A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

#1 2019-04-01 04:34 PM

Registered: 2019-04-01
Posts: 3

Few Questions on UDP protocol

Hello everyone,,
i am having a client server architecture . 1 to 10 clients connect to the server and sends data to write to different files each corresponding to a client.
I am using UDP protocol.
1)Before showbox.bio/ tutuapp.uno/ vidmate.vet/ completing the 10th client request, if i again get the request from 10th client..What happenes in that situation?? Does the 1st obtained request or 2nd obtained request data wil be available?? if YEs till how many request will be in a queue??

Thanks in advance

Last edited by Lincon (2019-04-04 07:00 PM)


#2 2019-04-01 04:56 PM

From: Boston, MA
Registered: 2002-06-12
Posts: 3,844

Re: Few Questions on UDP protocol

You mean one of your clients sends the same message to the server twice?  Well, then you'll probably get BOTH of them, assuming no network problems that cause one of them to get dropped...  As for how many outstanding unread messages are able to be queued up, that will depend on your SO_RCVBUF size...


Board footer

Powered by FluxBB