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

Pages are accessible through absolute gibberish urls in CakePHP?

My CakePHP (v2.5.5) application has a dynamic sitemap that uses various methods to generate links (such as /sitemap/career-center), and then passes these links to Router::url($generated_url, true). My sitemap is supposed to be available at the url…
user1832945
1
vote
1 answer

php mvc router dispatcher and authentication

I am working on code someone wrote based on Fat-Free Framework. Basically its a CRM. I have seen that he uses a dispatch function like the one i here: What is the difference between URL Router and Dispatcher? I have not found enough documentation on…
1
vote
2 answers

Where to keep autoload and router classes

Where should I keep my autoload class and router class? As I understand a router class is not part of the design patterns so I should store it in a folder, say facade, then where should I keep it? also, what about the autoload class, is it not part…
oasis
  • 197
  • 2
  • 13
1
vote
2 answers

Meteor Rendering Templates with Functions

I have a game and I want a system that renders a template if they have any adventures left. Meteor.methods({ adventure: function () { if(Meteor.user().adv > 0) { Meteor.users.update({_id: this.userId}, {$inc: {'adv': -1 }}); …
Alex Hong
  • 95
  • 9
1
vote
1 answer

Slow 'unknown host' response to networked macs from router? (Suddenly!)

Some IOError response tests in my unit test suite suddenly started failing. Have passed several times daily for months, only started failing today - they had a time out of 2 seconds. Chasing this up I found that it was taking over 30 seconds for the…
Stray
  • 1,689
  • 1
  • 11
  • 19
1
vote
1 answer

SAPUI5 using custom functions in sap.ui.controller

I'm try to access the router inside a function that is called by another function, and the error message is: Uncaught TypeError: Cannot read property 'navTo' of undefined sap.ui.controller.loginSuccess request.onreadystatechange I created a JSON…
mayconbelfort
  • 195
  • 1
  • 5
  • 17
1
vote
2 answers

How to get WiFi router information?

Is there a way I can get WiFi router information (mac address, ip address, and other if possible) of the WiFi router I am connected to using javascript? Preferred browser: chrome If it's not possible, what are my options?
sarjan
  • 139
  • 2
  • 7
1
vote
2 answers

Create URL using preg_replace PHP

This is my code: class Route { public function createURL($pattern, array $params = array()) { $url = $pattern; if ($params && preg_match_all('#([^/\(\)]*)?#', $pattern, $args)) { $args = $args[1]; …
taratula
  • 497
  • 1
  • 5
  • 11
1
vote
2 answers

Go Gorilla mux to handles API requests

I want to get the map structure from the following Gorilla Mux router input.package main For example, router.Methods("GET").Path("/api/{action}").HandlerFunc(httpLog(myHandler)) func myHandler(rw http.ResponseWriter, r *http.Request) { vars :=…
user4211028
1
vote
2 answers

How to create a questions list where answer_form will be in every question_partial?

I want to create a web page where i can see my item with list of questions. "items/1/questions" in routes.rb i have resources :items do resources :questions end questions/index.html.erb
anndrew78
  • 196
  • 1
  • 20
1
vote
1 answer

Windows 7: How to configure XAMPP / Windows Firewall / McAfee / private network router to allow incoming external HTTP/HTTPS connections?

I have been trying to follow this brief tutorial to enable external HTTP/HTTPS access to my XAMPP's Apache Web Server on Windows 7. However, when I go to Control Panel -> Windows Firewall, the four entries in bold font as shown in the image below…
John Sonderson
  • 3,238
  • 6
  • 31
  • 45
1
vote
1 answer

C++ P2P Listen on a port without port forwarding

I'm trying to write a C++ chat program that is based on Peer To Peer technique, with no need to a server. Say peers connect to each other using their IP addresses as identifier. Can I listen to incoming connections without configuring port…
Ikbel
  • 7,721
  • 3
  • 34
  • 45
1
vote
1 answer

Is Durandal router "cacheViews" property accessible and changeable at runtime?

I'm building a Durandal SPA that may benefit from a cacheViews setting of true or false, depending on the individuals usage of the app. This is how I currently have it set in shell.html:
mwill
  • 424
  • 7
  • 21
1
vote
1 answer

Can't access TP-Link TL-MR3220 ssh/telnet

I am unable to connect to my TP-Link TL-MR3220 router through SSH/Telnet. I have forwarded the ports 22 and 23 and try with Microsoft Telnet and PuTTY but it doesn't work. Please help.
1
vote
1 answer

Starting scheduled task when connected to specific network

I would like to create an event based scheduled task in Windows 7 that starts a program (VirtualRouter) when a specific network connection via LAN is established. I tried use a Windows/NetworkProfile 10000 trigger, but it makes a loop because…
1 2 3
99
100