You are here:
Vanderbilt Biostatistics Wiki
>
Main Web
>
Projects
>
MicroArrayMassSpec
>
GeneralWfccmDesign
>
WfccmClassDescriptions
>
WfccmNetworkListener
(12 Jul 2005,
WillGray
)
(raw view)
E
dit
A
ttach
<noautolink> ---+ !! <nop>NetworkListener %TOC% ---+++ Public Methods * NetworkListener(int) - The constructor. * Start() - Starts listening for incoming connections. * Stop() - Stops listening for incoming connections. ---+++ Private Methods * listen() - Polls the TcpListener for pending connections, accepts, and generates events with Network objects. ---+++ Private Properties * bool Listen - Locks access for listenCheck. ---+++ Private Members * TcpListener tcpListener - Listens for incoming connections. * IPAddress ip - The local incoming IP address. * int port - The local incoming port. * Thread pendingThread - Runs listen(). * bool listenCheck - Tells the Thread to stop. ---+++ Events * Connected ---+++ Rationale * After creating Network, we realized that stopping the listener and starting a new one was rejecting incoming connections, so we needed something that could always listen and queue pending connection attempts without losing them. </noautolink>
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 12 Jul 2005,
WillGray
Main
Department Home Page
Biostatistics Graduate Program
Vanderbilt University Medical Center
Main Web
Main Web Home
Search
Recent Changes
Changes
Topic list
Biostatistics Webs
Archive
Main
Sandbox
System
Register
|
Log In
Copyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki?
Send feedback