Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [networking]

For challenges that require answers to perform network requests, etc.

-4
votes
1answer
211 views

Net neutrality: Is my internet being throttled?

From the wikipedia: Net neutrality is the principle that Internet service providers and governments regulating the Internet should treat all data on the Internet the same, not discriminating or ...
1
vote
1answer
194 views

Quine over network [closed]

Write a program, that sends its own source code over network. Network example is TCP/UDP or web socket. Ethernet, Bluetooth, Wi-Fi and internet over USB are allowed. No need to write receiver ...
11
votes
7answers
364 views

Verbose IP Range Generator

The task is simple, given two IP adresses a and b, output all addresses within that range. Examples Example #1: ...
16
votes
2answers
715 views

Golfing end-to-end encryption

This challenge carries a bounty of 200 points for the first to answer and remain unbeaten for at least 3 days. Claimed by user3080953. There's a lot of talk lately about end-to-end encryption, and ...
4
votes
1answer
137 views

Moles with SOCKS? [closed]

Many applications that depend on network resources (such as games connecting to game servers) do not allow the user to set a proxy. There are a lot of ways to force the usage of a proxy regardless, I ...
38
votes
7answers
3k views

Fix my IPv4 address's missing periods

Sometimes when I'm typing out an IPv4 address, I get all the numbers right, but I forget to type one or more periods. I'd like to have a program (or function) that takes my broken IPv4 address and ...
7
votes
3answers
394 views

ECHO! Echo! echo. (echo) [closed]

Your challenge, should you choose to accept it, is simple: Implement RFC 862, also known as the Echo Protocol: The Echo protocol An echo service simply sends back to the originating source any data ...
101
votes
40answers
10k views

A simple TCP server

Write a program or function that listens for incoming TCP traffic on port N. It offers a simple service: it calculates sum of IP address fields of incoming connection and returns. Program or function ...
10
votes
2answers
257 views

Output all valid classful public unicast IPv4 addresses

IPv4 addresses are 32 bits wide, and thus the size of the address space is 232, or 4,294,967,296. However, this is only a theoretical upper-bound. It is not an accurate representation of all the ...
7
votes
2answers
571 views

Implement an encoder for RFC 1924 IPv6 Addresses

Introduction Everyone should know IPv6 by now. IPv6 has very long, cumbersome addresses. In 1996 some very intelligent people created a scheme to encode them much better in RFC 1924. For reasons I ...
12
votes
6answers
389 views

Mask an IP address and give its broadcast

Background Inspired by this Unix.SE question (and of course my own answer). When an IP address is specified for an interface, it is often given in this dotted-decimal form: ...
-8
votes
2answers
387 views

Download all StackExchange git repos

Introduction We all love StackExchange, therefore it would be essential to download all gems hidden on Stack Overflow repositories in the simplest possible way. Challenge/Task Your task is to write ...
7
votes
5answers
1k views

IPV4 subnet list cleaner (in CIDR notation)

We have a lot of IPV4 address, to group into subnets, so we need a tool for doing this: Our list is very ugly, not ordered and sometime in subnet notation, sometime in simple address. Sample: ...
22
votes
5answers
1k views

World IPv6 day 2014

To mark the anniversary of World IPv6 day, the Internet Society has published a campaign to Turn Off IPv4 on 6 June 2014 for One Day. IPv6 addresses may be represented in their long form as eight ...
9
votes
1answer
5k views

Build a simple proxy

Make the shortest proxy server. Input/Output Specifications Client: Input: a port number (32-bit integer) (,) or (space) a url (see test cases) Output: html source of the url Server: Input: port ...