Answer the question
In order to leave comments, you need to log in
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
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
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.
Что-то забыл про этот вопрос. На самом деле приходят абсолютно все данные, просто работает "склейка" данных в буфер. Так что смотрите в буфер если будете думать, что данные не приходят.
Ну а т.к. у меня Пакетная передача данных, то и "расцеплять" этот буфер мне легко.
Вопрос окончательно закрыт.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question