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 streams and datagrams in network programming?

What's the difference between sockets (stream) vs sockets (datagrams)? Why use one over the other?

sockets network-programming datagram
What is the cost of many TIME_WAIT on the server side?

Let's assume there is a client that makes a lot of short-living connections to a server. If the client closes …

networking tcp network-programming time-wait
What do you use when you need reliable UDP?

If you have a situation where a TCP connection is potentially too slow and a UDP 'connection' is potentially too …

sockets tcp network-programming udp
TCP Connect error 115 Operation in Progress What is the Cause?

My application creats a TCP connection, This is working normaly. But in one network server has many IP say 174.X.…

c networking tcp network-programming errno
Calculate upload/download speed by ping

How to calculate the speed of an internet connection by some average ping rates.What are the calculations involved in …

networking network-programming performance ping
How can I determine network and broadcast address from the IP address and subnet mask?

For example: IP Address: 130.45.34.36 Mask: 255.255.240.0 What would be Net ID/Subnet Address, and Broadcast Address?

networking network-programming ip broadcast subnet
How to get IP of all hosts in LAN?

I need to list IP addresses of all connected hosts in my LAN. What is the simplest way to do …

c# .net network-programming ip-address
When will a TCP network packet be fragmented at the application layer?

When will a TCP packet be fragmented at the application layer? When a TCP packet is sent from an application, …

tcp network-programming packet
Running 2 threads simultaneously

In the case of an IM client. I have made 2 separate threads to handle sending packets (by std io) and …

java multithreading network-programming simultaneous-calls
Maximum number of concurrent connections on a single port (socket) of Server

What could be the maximum number of concurrent Clients (using different port number) that could communicate to a Server on …

linux sockets network-programming client-server telnet