Top "Network-programming" questions

Programming associated with creating and managing networks as well as adding network connectivity to a (set of) programs.

Is it possible to find out MAC address of directly wired connected device?

I would like to read MAC address of attached device at the other side of the wire. Suppose to have 2 …

networking network-programming ip mac-address
Using SO_REUSEADDR - What happens to previously open socket?

In network programming in unix, I have always set the SO_REUSEADDR option on the socket being used by server …

c network-programming unix
What are the functions of the Transport layer?

I have a homework question which asks what the four functions of the Transport layer are. It doesn't mean what …

network-programming transport osi
Broadcasting UDP packet to 255.255.255.255

first time poster, hopefully this is an easy one: I need to send a broadcast packet to a piece of …

linux networking network-programming udp dhcp
Python Scapy wrpcap - How do you append packets to a pcap file?

I have some software that can emulate things like BER and delays on the network. I need a way to …

python networking network-programming scapy raw-ethernet
Network Communication Design Patterns

I've come to realize that several questions I asked in the past, such as this really boil down to a …

design-patterns network-programming network-protocols
Non-blocking sockets

What's the best way to implement a non-blocking socket in Java? Or is there such a thing? I have a …

java sockets network-programming blocking nonblocking
Why DHCP client listens on port 68?

If suppose client does not listen on 68 port,when DHCP server receives the request, it can send it to the …

network-programming dhcp
Poco::Net Server & Client TCP Connection Event Handler

I am starting a new project and at the same time have just discovered Poco Library, which I find absolutely …

c++ networking network-programming poco-libraries
Flush a socket in C++

I tried to flush a socket after calling to send function in c++. I used winsock2.h library. I need …

c++ sockets network-programming winsock2