Top "Network-programming" questions

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

What's the difference between sockaddr, sockaddr_in, and sockaddr_in6?

I know that sockaddr_in is for IPv4, and sockaddr_in6 for IPv6. The confusion to me is the difference …

c++ c api network-programming
Why does a SOAP message have to be sent over HTTP?

Below is a demo SOAP request message: HTTP/1.1 200 OK Content-Type: text/xml; charset="utf-8" Content-Length: nnnn <SOAP-ENV:Envelope xmlns:…

xml soap network-programming protocols webservice-client
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
What does "192.168.1.1/21" mean?

When they write a slash followed by a number after an IP address, what does that mean?

networking network-programming ip
C, socket programming: Connecting multiple clients to server using select()

I'm trying to make a server that can be connected to by multiple clients. Here's my code so far: Client: …

c sockets network-programming client select-function
How to write a simple Bittorrent application?

How to write a simple bittorrent application. Something like a "hello world" using a bittorrent library, I mean a simplest …

python c network-programming p2p bittorrent
Create a simple Client/Server using Modbus in C

I am currently working on a project which will allow different automates to communicate. To do so, I would like …

c network-programming serial-communication modbus modbus-tcp
Reserve a TCP port in Windows

I'd like to reserve a TCP port, to be bound by a service later, so that Windows doesn't inadvertently use …

windows network-programming zeromq
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