¡@

Home 

c# Programming Glossary: listener

URL mapping with C# HttpListener

http://stackoverflow.com/questions/10017564/url-mapping-with-c-sharp-httplistener

any call to the 8080 port. static void Main HttpListener listener new HttpListener listener.Prefixes.Add http 8080 listener.Start.. static void Main HttpListener listener new HttpListener listener.Prefixes.Add http 8080 listener.Start while isRunning HttpListenerContext.. listener new HttpListener listener.Prefixes.Add http 8080 listener.Start while isRunning HttpListenerContext ctx listener.GetContext..

Using global keyboard hook (WH_KEYBOARD_LL) in WPF / C#

http://stackoverflow.com/questions/1639331/using-global-keyboard-hook-wh-keyboard-ll-in-wpf-c-sharp

IDisposable summary Creates global keyboard listener. summary public KeyboardListener We have to store the HookCallback.. summary Destroys global keyboard listener. summary ~KeyboardListener Dispose summary Fired when any..

Weak event handler model for use with lambdas

http://stackoverflow.com/questions/1747235/weak-event-handler-model-for-use-with-lambdas

S T Action EventHandler T add to add event listener to publisher Action EventHandler T remove to remove event listener.. to publisher Action EventHandler T remove to remove event listener from publisher S subscriber ref to subscriber to pass to action.. static void SetAnyHandler T R Action T add to add event listener to publisher Action T remove to remove event listener from publisher..

Websocket server: onopen function on the web socket is never called

http://stackoverflow.com/questions/2211898/websocket-server-onopen-function-on-the-web-socket-is-never-called

I'm doing wrong. Heres a bit of the server code Socket listener new Socket AddressFamily.InterNetwork SocketType.Stream ProtocolType.IP.. ep new IPEndPoint IPAddress.Parse 127.0.0.1 8181 listener.Bind ep listener.Listen 100 Console.WriteLine Wainting for connection..... IPEndPoint IPAddress.Parse 127.0.0.1 8181 listener.Bind ep listener.Listen 100 Console.WriteLine Wainting for connection... Socket..

How do events cause memory leaks in C# and how do Weak References help mitigate that?

http://stackoverflow.com/questions/3662842/how-do-events-cause-memory-leaks-in-c-sharp-and-how-do-weak-references-help-miti

point. If the source object has a longer lifetime than the listener and the listener doesn't need the events anymore when there.. object has a longer lifetime than the listener and the listener doesn't need the events anymore when there are no other references.. .NET events causes a memory leak the source object holds listener objects in memory that should be garbage collected. Can you..

Instantly detect client disconnection from server socket

http://stackoverflow.com/questions/722240/instantly-detect-client-disconnection-from-server-socket

IAsyncResult ar Accept incoming connection Socket listener Socket ar.AsyncState handler listener.EndAccept ar I need to.. connection Socket listener Socket ar.AsyncState handler listener.EndAccept ar I need to find a way to discover as soon as possible..

Activation error occured while trying to get instance of type LogWriter

http://stackoverflow.com/questions/2900403/activation-error-occured-while-trying-to-get-instance-of-type-logwriter

true defaultCategory General listeners add name Event Log Listener type Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener.. type Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener Microsoft.Practices.EnterpriseLibrary.Logging.. Microsoft.Practices.EnterpriseLibrary.Logging Version 5.0.414.0..

How do events cause memory leaks in C# and how do Weak References help mitigate that?

http://stackoverflow.com/questions/3662842/how-do-events-cause-memory-leaks-in-c-sharp-and-how-do-weak-references-help-miti

class Source public event EventHandler SomeEvent class Listener public Listener Source source attach an event listner this.. public event EventHandler SomeEvent class Listener public Listener Source source attach an event listner this adds a reference.. ...and then the following code Source newSource new Source Listener listener new Listener newSource listener null Even though we..

C# How to make a simple UDP server

http://stackoverflow.com/questions/4108100/c-sharp-how-to-make-a-simple-udp-server

Events - naming convention and style

http://stackoverflow.com/questions/724085/events-naming-convention-and-style

up the metronome_Tick method to the EventHandler delegate Listener listener new Listener metronome metronome.OnTick public class.. method to the EventHandler delegate Listener listener new Listener metronome metronome.OnTick public class Metronome a delegate.. is called the runtime calls another method in this case Listener.metronome_Tick public event EventHandler Tick public void OnTick..