What is the difference between IPoIB and TCP over InfiniBand?

InfiniBand adapters (“HCAs”) provide a couple of advanced features that can be used via the native “verbs” programming interface: Data transfers can be initiated directly from userspace to the hardware, bypassing the kernel and avoiding the overhead of a system call. The adapter can handle all of the network protocol of breaking a large message … Read more

How can I determine network and broadcast address from the IP address and subnet mask?

Let’s write both in binary: 130.45.34.36 = 10000010.00101101.00100010.00100100 255.255.240.0 = 11111111.11111111.11110000.00000000 A bitwise AND between the two would give us the network address: 10000010.00101101.00100010.00100100 (ip address) AND 11111111.11111111.11110000.00000000 (subnet mask) = 10000010.00101101.00100000.00000000 = 130.45.32.0 (the resulting network address) A bitwise OR between the network address and the inverted subnet mask would give us the broadcast … Read more

Why does a SYN or FIN bit in a TCP segment consume a byte in the sequence number space?

It’s not particularly subtle – it’s so that the SYN and FIN bits themselves can be acknowledged (and therefore re-sent if they’re lost). For example, if the connection is closed without sending any more data, then if the FIN did not consume a sequence number the closing end couldn’t tell the difference between an ACK … Read more

What port does httpclient use?

There are always two ports involved in a connection – one at the server, and another at the client. The server-side port is specified (and is known to the client) via the HTTP URL (the default is 80 for HTTP connections and 443 for HTTPS) and is specified after the hostname using hostname:port notation. On … Read more

tech