Questions tagged [router]

A router is a device that forwards data packets across multiple networks. DO NOT USE THIS TAG FOR QUESTIONS REGARDING URL ROUTING OR SINGLE PAGE APPLICATION ROUTERS

NOTE: This tag should not be used for questions on configuring or port forwarding applications on routers. Such questions are off topic for StackOverflow, and should be directed to SuperUser instead. Questions involving routing in single page applications should insetad be tagged with the appropriate routing library such as or . Question asking about routing server side applications should be tagged with and the appropriate framework.

Excerpt from Wikipedia on March 29th 2011:

A router is a device that forwards data packets across computer networks. Routers perform the data "traffic directing" functions on the Internet. A router is a microprocessor-controlled device that is connected to two or more data lines from different networks. When a data packet comes in on one of the lines, the router reads the address information in the packet to determine its ultimate destination. Then, using information in its routing table, it directs the packet to the next network on its journey. A data packet is typically passed from router to router through the networks of the Internet until it gets to its destination computer. Routers also perform other tasks such as translating the data transmission protocol of the packet to the appropriate protocol of the next network, and preventing unauthorized access to a network by the use of a firewall.

The most familiar type of routers are home and small office routers that simply pass data, such as web pages and email, between the home computers and the owner's cable or DSL modem, which connects to the Internet (ISP). However more sophisticated routers range from enterprise routers, which connect large business or ISP networks up to the powerful core routers that forward data at high speed along the optical fiber lines of the Internet backbone.

3818 questions
1
vote
1 answer

What's the difference between @RouteConfig and @Routes

In the documentation of Angular2 Router, Configuration section says A router has no route definitions until we configure it. The preferred way to simultaneously create a router and add its routes is with a @RouteConfig decorator applied to the…
CodeArtist
  • 5,534
  • 8
  • 40
  • 65
1
vote
1 answer

What is the best way to go for retaining user input data (form) when navigating thru a form wizard?

I am using Angular2: I am working on a Form Wizard based on the following: 1) each wizardstep(screen) is associated with its own Component rendering a separate subform () attached with ngFormControl bindings. 2) router/routing is applied to move…
user2120188
  • 427
  • 1
  • 4
  • 16
1
vote
3 answers

Angular2 rc1 router navigate by url

I have parent component with url /app when I enter enter into that component, by default following component is loaded with following routes: @Routes([ { path: '/users', component: UserComponent }, { path: '/other', component: OtherComponent…
Admir Sabanovic
  • 645
  • 1
  • 11
  • 18
1
vote
1 answer

Angular 2 router pass parameters and get them when changes

How I can pass some parameters to my rotes, like was in the old router? Old @RouteConfig([ new Route({path: '/home', component: HomeCmp, name: 'HomeCmp' }) ]) New @Routes([ {path: '/login', component: Component} ]) and then get them in…
Alex
  • 579
  • 5
  • 24
1
vote
1 answer

faster wifi file transfer between android devices?

I am working with a android application in which I am wanting to share the file from one device to another through Wi-Fi. I am getting the speed of around 1.5 Mega Byte/s. Is there any way by which I can transfer the file by much higher data…
1
vote
1 answer

Aurelia configure Router becomes page event?

most of Aurelia github examples says we need to call configure() inside the constructor() method ex: constructor(router) { this.router = router; this.configure(); } configure() { this.router.configure(config => { …
Ruwanthaka
  • 39
  • 1
  • 8
1
vote
1 answer

Angular2 detect router change attempt BEFORE route is change

I have lazy loaded components and I want to show preloader when we loading component stuff/thirdparty library etc from server. How I try to do this: Create component with show/hide loader possibility and I want to show it when someone try to…
Velidan
  • 5,526
  • 10
  • 48
  • 86
1
vote
1 answer

react-router upgrading conflict withRouter

I've seen an upgrade guide here how to use withRouter but I have a problem implementing it on my project. It's having problem with my connect. When I have my connect above withRouter, router exists on props but not my states, and when I have connect…
index
  • 3,697
  • 7
  • 36
  • 55
1
vote
3 answers

Python - telnet on routers and list full result (hitting space bar)

import telnetlib def telNetCall(): host = "10.200.1.23" user = "me" password = "matrix" telnet = telnetlib.Telnet(host) telnet.read_until('Username: ', 3) telnet.write(user + '\r') telnet.read_until('Password: ', 3)…
Whit3H0rse
  • 569
  • 2
  • 8
  • 16
1
vote
1 answer

ReactJS react-router

I'm developing am application with ReactJS, but I have a problem. That's my Router
Luiz Fumes
  • 41
  • 6
1
vote
1 answer

Detecting subdomain in Router::connect

I'm busy with building a website with an admin-area in the Lithium PHP Framework. However, I would like to access the admin area via a subdomain like: https://admin.mywebsite.com/{:controller}/{:action}/... I've made a subdirectory in the…
1
vote
3 answers

How to get GET paramater in Angular2?

By accessing myproject.dev/people?filter%5Bindustry%5D=finance&filter%5BstartWith%5D=a, Angular2 point the url to myproject.dev/people Here is my RouteConfig: @RouteConfig([ { path: '/people', name: config.route.main, …
tom10271
  • 4,222
  • 5
  • 33
  • 62
1
vote
0 answers

How to set new manufacture on RANCID?

I'm trying to monitor a Lenovo switch using rancid, as there's no default scripts for that manufacture, I had to create my own one. The problem comes when trying to set up the config so it executes slenovo script when running on a Lenovo…
sysfiend
  • 601
  • 8
  • 20
1
vote
1 answer

Hosting a server on a private IP address

A server application, written in Java, will be hosted on an IP address provided by the router. How can a client connect from anywhere to the server even though the server doesn't have a public IP, just an IP address provided by the router using NAT…
Ali
  • 27
  • 4
1
vote
1 answer

Entropy Generation in Embedded Systems

Recently I've been diving into some light embedded systems research, specifically in routers from various manufacturers running different OSes (Linux, eCos, etc). I am wondering if anyone has studied the subject and knows what the sources of…
soxrok2212
  • 41
  • 1