Questions tagged [switching]

A switch is a telecommunication device that receives a message from any device connected to it and then transmits the message only to the device for which the message was meant. This makes the switch a more intelligent device than a hub (which receives a message and then transmits it to all the other devices on its network). The network switch plays an integral part in most modern Ethernet local area networks (LANs)

A switch is a telecommunication device that receives a message from any device connected to it and then transmits the message only to the device for which the message was meant. This makes the switch a more intelligent device than a hub (which receives a message and then transmits it to all the other devices on its network). The network switch plays an integral part in most modern Ethernet local area networks (LANs). Mid-to-large sized LANs contain a number of linked managed switches. Small office/home office (SOHO) applications typically use a single switch, or an all-purpose converged device such as a residential gateway to access small office/home broadband services such as DSL or cable Internet. In most of these cases, the end-user device contains a router and components that interface to the particular physical broadband technology. User devices may also include a telephone interface for VoIP. An Ethernet switch operates at the data link layer of the OSI model to create a separate collision domain for each switch port. With 4 computers (e.g., A, B, C, and D) on 4 switch ports, any pair (e.g. A and B) can transfer data back and forth while the other pair (e.g. C and D) also do so simultaneously, and the two conversations will not interfere with one another. In full duplex mode, these pairs can also overlap (e.g. A transmits to B, simultaneously B to C, and so on). In the case of a repeater hub, they would all share the bandwidth and run in half duplex, resulting in collisions, which would then necessitate retransmissions.

http://en.wikipedia.org/wiki/Network_switch

329 questions
1
vote
3 answers

Switching databases in code igniter

I have two databases I need to connect to, which I can do in the controllers and libraries I have written. For some odd reason (i'm assuming I'm just missing something simple here) I can't get it to work in the model all of the sudden. I have read…
deadbabykitten
  • 159
  • 3
  • 14
1
vote
1 answer

Xcode 4.2: What is the most effective method switching views?

I was thinking of games in particular, where there may be alot of views that need to be switched in and out. Could someone supply some sample xcode 4.2 code? Many tutorials have old xcode versions which have different initial code. Thanks
Tim Purple
  • 100
  • 1
  • 8
1
vote
0 answers

Trying to switch Py versions in Anaconda and within Spyder

I know this might be a silly question but I need help going from 3.8 python in Spyder to 3.5. I found an old answer to the problem however, when i go through the steps is not working. Can anyone help me out please?
1
vote
1 answer

Is there any way to change the keyboard layout (English - Arabic) using C# even if I force the user to refresh the page?

I googled about this and didn't find any solutions because it needs user interact to do it, but is there any way to switch the keyboard layout using C# (MVC or Core) from Arabic to English and vice versa even if I force the user to refresh the page?
fiverbox.com
  • 119
  • 9
1
vote
1 answer

Switch trunkports

When I connect 2 switches I configure the involved ports as trunkports. On both ports I can also set which VLANs are permitted to use the trunkport. What happens if I set trunkport1 to let VLAN1, VLAN2 and VLAN3 through and thrunkport2 to let only…
asdfg
  • 11
  • 1
1
vote
1 answer

Switching frames with Menubutton in Python

I'm trying to make a widget for reports and I'm using menubutton to switch between different frames, but when one frame is closed and open the other - frame is messed up. Here is a code sample: from tkinter import * from tkinter import ttk def…
Andonov85
  • 77
  • 8
1
vote
3 answers

Iphone navigate to previous/next viewController

I have a viewController that displays the result of a query using a tableview). By taping on a row a I push a the childView and I set a navigationBar that contains 2 buttons on the right (Previous/Next). My question is : How can I switch to the…
Stan92
  • 453
  • 1
  • 8
  • 21
1
vote
3 answers

Android shared preferences conditional activity switching

I have an Android app which I use to register users on my web site. My first task is to register a user if my shared preferences file shows there is no registered user information. If my app has a registered user, I provide the following code to…
sisko
  • 9,604
  • 20
  • 67
  • 139
1
vote
0 answers

Switch elements of 2d array

I have a problem: I can't make my script working with penalties, but I made it work with bonuses. Start: two-dimensional array of users, each has id, name, start position and modificator (if modificator < 0 its bonus; if modificator > 0 its…
1
vote
1 answer

How to interface ethernet with STM32 Microcontroller?

The project uses an ethernet loop which is connected through the STM32 Microcontroller. I have to use ethernet switch IC(4 port). What are the topics that I have to know so that I can use the ethernet in the project? Also how to interface the…
Boovaragan
  • 21
  • 1
  • 4
1
vote
4 answers

Switching Display Callback in GLUT

For a final project, my friends and I are making a game. We're using GLUT (I know, not the best choice). What we would like to do is to have multiple display callback functions for different modes of the game (eg. splash screen, menu screen,…
Andrew
  • 191
  • 2
  • 6
1
vote
1 answer

How to enable disable edit mode on tabs view in Flutter

I want to enable "edit" mode for some elements in selected tab, the problem is if im using edit btn in appBar menu i enable edit mode for all the tabs not just selected. When user select tab and click edit from appBar i want to switch view to edit…
Alex Apps
  • 317
  • 6
  • 19
1
vote
0 answers

Reloading jQuery Scripts on image click

I'm building a webpage at the moment with a content switcher than will contain a lightbox. my problem at the moment is that the lightbox works on load, but when I switch content and switch back again it doesn't function. I'm assuming that I will…
Dylfish
  • 11
  • 1
1
vote
1 answer

switching two elements in an array

The level is basic so bear with me. There are a few similar topics but didn't find my luck there. What I'm trying to do is to find max element in a row and then put it in the place of last element of the same row, while the last element to be put…
1
vote
1 answer

Assigning variable values based on search results from a txt file

I'm a novice programmer (if that!) im working on a simple project at work that will swallow a HP network switch config file and spit out a png image of the switch, with coloured ports that match the colour of the vlan associated with those…