A router is a device that forwards data packets across multiple networks.
4
votes
13answers
13k views
How can I determine the IP of my router/gateway in Java?
How can I determine the IP of my router/gateway in Java? I can get my IP easily enough. I can get my internet IP using a service on a website. But how can I determine my gateway's IP?
This is ...
5
votes
3answers
6k views
Objective-C : How to fetch the router address?
I tried to fetch the router address this way.
- (NSString *) routerIp {
NSString *address = @"error";
struct ifaddrs *interfaces = NULL;
struct ifaddrs *temp_addr = NULL;
int success = 0;
...
31
votes
3answers
4k views
Ruby on rails: singular resource and form_for
I want user to work with only one order connected to user's session. So I set singular resource for order
routes.rb:
resource :order
views/orders/new.html.erb:
<%= form_for @order do |f| %>
...
4
votes
4answers
2k views
Programmatically changing wireless router settings - Netgear ideally
Is it possible to programmatically change settings on a Netgear wireless router using C#? I have settings that I change often and I would like to create my own interface for making those changes. ...
9
votes
2answers
7k views
Adding sub domain based routes in Zend framework
I am newbie to Zend framework, I am using .ini file to add routes in my application.
I have 2 routes for different modules which
resources.router.routes.news_view.type = ...
4
votes
3answers
554 views
How to get user's public IP if the server is behind a router?
How can I get the user's public IP if my server is behind a router?
I'm trying:
protected string GetIPAddress()
{
System.Web.HttpContext context = System.Web.HttpContext.Current;
string ...
10
votes
1answer
1k views
Rails + SSL: Per controller or application-wide?
I could use some wisdom from any developers who have worked with Rails and SSL. I have a fairly simple app and I'm in the process of implementing payment processing. Obviously payment processing calls ...
3
votes
2answers
839 views
Node.js module-specific static resources
Is there an elegant way to bundle static client-side file resources (scripts,images,etc) into an Express module and systematically avoid naming conflicts? It's easy enough to register a ...
2
votes
1answer
667 views
DHCP Multiple IP address request
I am trying to mimic a DHCP client from my end using C++ Code. My objective is to get some free/unused IP's from the DHCP server to assign it to different equipments - similar to a DHCP Relay, but not ...
1
vote
2answers
4k views
redirect in cakephp ssl site routes to http not https
I have developed a cakephp site that should use ssl for all pages. It works as expected except when I use redirect in a controller it redirects to http: //subdomain.domain.com not https: ...
0
votes
1answer
329 views
emberjs: how to trigger a custom event in a View
I would like to turn a primitive event (a click) into a semantic event, like "deleteTodo"
This is described here, but not how to implement :(
I have the following code:
App.TodoView = ...
0
votes
5answers
1k views
Is it possible to find out a user's router's MAC address?
I would like to use a PHP script to find the router that a user is connected to my site from. Is this possible with PHP or some other Server-Side language?
I have looked online and it looks like ...
4
votes
2answers
2k views
Lightweight network visualization tool
I've been trying to find a tool for monitoring my home network. Before I go into the details, I've looked at a ton of different software and they're either an overkill or don't have what I'm looking ...
17
votes
3answers
6k views
Multiple routers vs single router in BackboneJs
All example on backbone using one router for the whole application. But wouldn't it make sense to have a router for single part of your app (header, footer, stage, sidebar). So my question is has ...
10
votes
4answers
734 views
Ember.js Router: How to animate state transitions
Has somebody found a good way to animate state transitions?
The router immediately removes the view from the DOM. The problem with that is that I can't defer that until the end of the animation. ...