Top "Networking" questions

For most programming questions use [network-programming] tag.

What port is a given program using?

I want to be able to figure out what port a particular program is using. Are there any programs available …

windows networking
Send a ping to each IP on a subnet

Is there a command line based way to send pings to each computer in a subnet? Like for(int i = 1; …

networking shell ping arp
Network usage top/htop on Linux

Is there a htop/top on Linux where I get to sort processes by network usage?

linux networking top-command htop
When is it appropriate to use UDP instead of TCP?

Since TCP guarantees packet delivery and thus can be considered "reliable", whereas UDP doesn't guarantee anything and packets can be …

networking tcp udp
Find the IP address of the client in an SSH session

I have a script that is to be run by a person that logs in to the server with SSH. …

linux networking ssh ip-address
How can I get the IP address from NIC in Python?

When an error occurs in a Python script on Unix , an email is sent. I have been asked to add {…

python unix networking nic
An URL to a Windows shared folder

Is there a way to incorporate a working link to a Windows shared folder into an HTML page? E.g. …

html url networking share file-uri
Checking network connection

I want to see if I can access an online API, but for that I need to have Internet access. …

python networking
How to find an available port?

I want to start a server which listen to a port. I can specify port explicitly and it works. But …

java networking sockets port