N
N
nonbody2017-02-25 23:48:01
Computer networks
nonbody, 2017-02-25 23:48:01

Is there always 3 dots in IP4?

Does the IP4 address always contain 3 dots or not?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir Dubrovin, 2017-02-26
@nonbody

You were given the wrong answer. An IP address can be written as a single number. For example
94.100.180.199 could be written as 1583658183 and the URI
http://1583658183/
is valid. Potentially, there are other ways to write the address, for example, in the form of an IPv4 over IPv6 address, for example, any address from the network 2002
:c000:0204::/48 corresponds to the address 192.0.2.4 written as ::ffff:7f00:0001

L
longclaps, 2017-02-26
@longclaps

No

B
belunix, 2017-02-25
@belunix

If written in a common format, then yes, always
Four numbers from 0 to 255, separated by dots.
The four numbers are separated by three dots.

0
0xD34F, 2017-11-08
@Groyreg

That is, all group_ids in all nested objects should be equal to 1? Try like this:

resultGenes() {
  return this.filteredResultGenes.filter(elem => {
    return elem.snps.every(n => n.snpgroup.every(m => m.group_id === 1));
  });
}

UPD. Taken from the comments:
there is a similar task, only I need to compare two values ​​and if true then draw the block. Every, as I understand it, returns only true or false. Is there any method so that you can go through all the objects in this array in the v-if directive in the array? well, i.e.
I want the construction to work: v-if="type.id == date.activities.type_id " only activities can either not exist at all, or be empty, or there can be several of them.

Don't v-if. Make a computed property that will represent the data that matches the condition and output all of them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question