Questions tagged [bind]

This tag means different things in different contexts: consider using less ambiguous tags instead. Common meanings include: the bind function in socket programming; binding to naming contexts; the bind method in jQuery; BIND the DNS server (named), . For boost::bind in C++, use [boost-bind]. Do not use this tag just to say that you're binding something to something else.

  • In and , bind() is a system call that associates an IP address and port number with a socket.
  • In , Function.prototype.bind() is a method to attach a function to a fixed this value.
  • In , bind is a method to attach a handler to an event. This method was deprecated in jquery v3.0
  • In , 'bind' is a connect/authenticate step.
  • in , 'bind' is the process of associating an object with a name in a context.
  • in , 'bind' is the process of associating a remote object with a name in an RMI Registry.
  • In , 'bind' is the process of associating an exported object with a name in a COSNaming context.
  • In bind or binding refers to specifying the target of an inject request.
  • In , questions about the library's boost::bind function should use the tag instead and questions about the function std::bind should use the tag .
  • BIND, the Berkeley Internet Name Domain is the most commonly used DNS server software on the Internet. Questions about BIND are often off-topic for StackOverflow and may belong on SuperUser.com or unix.stackexchange.com.
  • In , "bind" often refers to the >>= operator. Questions about it should use the tag .

Do not use this tag just to indicate that you're binding something to something else — use tags that are related to the topic of your question.

4006 questions
1
vote
1 answer

Changing text binded to a resource file

I am trying to change my text binded to a resource file in run time. For that I am following this tutorial: https://codinginfinity.me/post/2015-05-10/localization_of_a_wpf_app_the_simple_approach I simply created a WPF project, added 2 resource…
lulas
  • 860
  • 9
  • 29
1
vote
1 answer

UWP : Binding selected date in calendarview

I want to do a two way bind from my ViewModel to selected date (single) in my XAML calendarview. But we have no dependency properties to do it. What to do ? EDIT: the code I tried but I got Error. Its the combination of these two topics: How to use…
Mohsen
  • 427
  • 4
  • 20
1
vote
2 answers

Spring MVC submit and bind object with a GET Request

I like to show an object in its edit form which have been selected before from another page. The selection page transmits the id of the selected object via GET to my controller. How can I enforce that the parameters get bind to a message object and…
megloff
  • 1,400
  • 4
  • 27
  • 44
1
vote
1 answer

Identical bound port UDP sockets and receiving data on all of them

I need to do an important test. The test's condition is as bellow. I am using winsock and I have 2 UDP sockets (Sock-A and Sock-B) which with SO_REUSEADDR option both of them have been bound to port 1000 on one PC. Both of them transmit UDP packets…
1
vote
1 answer

What would happen if React doesn't auto bind instance methods for you in a component?

Learning React and seeing the below code I read that React auto binds for you so the thiss in 1 and 2 work out well. I was wondering what would the this in each one refer to if React didn't auto bind it for you? Wouldn't the 2 this refer tot he…
stackjlei
  • 9,485
  • 18
  • 65
  • 113
1
vote
2 answers

JavaScript .on("keyup")

There's an input text fires a function on "onkeyup" event. When that function fires I'm binding a "keyup" event with .on("keyup") method to get the last pressed key to find out if it was alphanumerical in order to fire the search ajax I want. And…
Ümit Aparı
  • 540
  • 2
  • 6
  • 23
1
vote
2 answers

bind() - how to call bind() multiple times on the same socket

I use bind() on an address to which I have set port value equal to 0. I know that in this way, it is bind a random port to the address. But I want that only port with value x such that (x >= 0 && x <= 1023) || (x >= 49152) were choosen, but I…
user7836391
  • 41
  • 1
  • 4
1
vote
1 answer

Just installed nginx and now having bind error - address already in use

i am running a vps with apache. just installed nginx. got the address already in use error at port 80 because apache is using it. I am new to linux/apache stuff so is it possible to change the port of nginx and how ? if yes will it work as i want…
Ayaz Malik
  • 148
  • 1
  • 12
1
vote
1 answer

CentOS error while compiling Bind with DLZ "/usr/bin/ld: cannot find -lmysqlclient"

So I am trying to compile Bind with DLZ ( mysql ) support on CentOS 7 After doing ./configure --prefix=/usr --sysconfdir=/etc/bind --localstatedir=/var --mandir=/usr/share/man --infodir=/usr/share/info --enable-threads --enable-largefile…
Rahim Khoja
  • 695
  • 13
  • 26
1
vote
1 answer

Bind the values of a grid record to a form and a window

Although there are several ways to load the values of a record into a form within a window, in the specific case of using binding from a grid to a form (for example, to display the detail of the record) how to bind the same values to a form within a…
jose
  • 1,490
  • 3
  • 30
  • 65
1
vote
1 answer

RxSwift: binding PublishSubject to multiple buttons and receive sender

I am working on an app that presents 26 (alphabet) buttons. Right now they're all connected to the same function in the ViewController, that in turn calls another function in the ViewModel, and finally this function calls publishSubject.onNext().…
Yotam
  • 9,789
  • 13
  • 47
  • 68
1
vote
1 answer

Haxe Javascript: Prevent '$bind' generation?

Is there a simple way to prevent $bind generation when passing around class member functions? I have an object that takes in a function which will be called in an arbitrary interval. The object always binds itself as the 'this' binding before…
Harold B.
  • 65
  • 4
1
vote
1 answer

Hide spinner only for specific ajax

I am using a spinner using tutorial shown here there are 3 functions running ajax calls I want to hide it for only a specific function running ajax call, how to do this ? Currently my code for adding spinner for ajax call is this : …
Shrinath
  • 7,888
  • 13
  • 48
  • 85
1
vote
1 answer

Logstash for Vagrant: Address already in use

I have a Vagrant image in which there is an application; it is reachable in the Vagrant image if you call the port 2401 and depending on the service that you want, you call a specific address (i.e. "curl -X GET …
20-roso
  • 253
  • 1
  • 14
1
vote
1 answer

Why doesn't aryB.forEach(aryA.push.bind(aryA)) work in JavaScript?

For example: > var aryA = []; undefined > var aryB = [1, 2, 3]; undefined > aryB.forEach(aryA.push.bind(aryA)); undefined > aryA [1, 0, Array[3], 2, 1, Array[3], 3, 2, Array[3]] Yes, I want to copy the elements from aryB to aryA. Of course I…
Li Enze
  • 679
  • 2
  • 5
  • 18
1 2 3
99
100