L
L
LiptonOlolo2016-07-21 15:08:44
JavaScript
LiptonOlolo, 2016-07-21 15:08:44

NetSockets.dll packet loss in multicast?

Good afternoon!
Faced such an interesting situation: if several packages are sent in a row to everyone, or to a specific user, then several packages simply do not come. Only Thread.Sleep(100) (100-150) saves, then all packets arrive normally, please tell me how can I fix this error?
Thank you.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
P
Peter, 2016-02-19
@petermzg

function Person(){}- You declare a function named Person.
var person = Person()- You call the Person function and store the result in the person variable
var person = new Person()- You create a new object using the Person constructor function

C
Cat Anton, 2016-02-19
@27cm

Function expressions in JavaScript

L
lem_prod, 2016-02-19
@lem_prod

function superFunc (arg) {};
function - launching the function constructor
superFunc - function name
() - variable arguments
{} - execution context
turns out to be a function with a name, arguments and context
, while the call to superFunc () goes by the name of the function, I want to note that the brackets during the call, is the call operator.
var super = superFunc() - read from right to left, call a function called superFunc and put the result in the super variable.
var super = new superFunc() - read from right to left, call a function named superFunc as a constructor, create an object from it that will be placed in the super variable. Here it is worth paying attention that the function does not return anything, but creates an object by constructor.

L
LiptonOlolo, 2016-12-30
@LiptonOlolo

Что-то забыл про этот вопрос. На самом деле приходят абсолютно все данные, просто работает "склейка" данных в буфер. Так что смотрите в буфер если будете думать, что данные не приходят.
Ну а т.к. у меня Пакетная передача данных, то и "расцеплять" этот буфер мне легко.
Вопрос окончательно закрыт.

Александр, 2016-07-21
@NeiroNx

UDP допускает потерю пакетов. Также потеря может скрываться в заполнении буфера передачи.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question