Top "Network-protocols" questions

A network protocol defines rules and conventions for communication between network devices.

IP Fragmentation and Reassembly

I am currently going through my networking slides and was wondering if someone could help me with the concept of …

networking tcp network-protocols fragmentation defragmentation
Why is window size less than or equal to half the sequence number in SR protocol?

In selective repeat protocol, the window size must be less than or equal to half the size of the sequence …

networking network-protocols
Why is network-byte-order defined to be big-endian?

As written in the heading, my question is, why does TCP/IP use big endian encoding when transmitting data and …

networking network-protocols endianness tcp-ip
Check if remote host is up in Python

How would I check if the remote host is up without having a port number? Is there any other way …

python network-programming network-protocols
Difference between message-oriented protocols and stream-oriented protocols

I am trying to understand the difference between these two computer networking terminologies. I searched over the internet but coudn't …

network-protocols
Get the Default Gateway

I'm writing a program that shows the user their IP address, Subnet mask and Default gateway. I can get the …

c# network-programming network-protocols
How To Generate TCP, IP And UDP Packets In Python

Can anyone tell me the most basic approach to generate UDP, TCP, and IP Packets with Python?

python network-programming network-protocols
How to fake source ip-address of a udp-packet?

Think about the following: Your ISP offers you a dynamic ip-address (for example 123.123.123.123). My question is simple (the answer may …

networking network-programming ip-address network-protocols
ZeroMQ + Protocol Buffers

ZeroMQ FAQ page suggest use of Google's protobuf as a way to serialise message content. Has anyone see a good …

protocols network-protocols zeromq
Calculating Utilization in a Stop-And-Wait Protocol

I have a problem in my book about calculating the utilisation, but I'm not being able to find any substantial …

network-protocols transmission utilization network-utilization