Establishes a connection to listen for incoming connection requests.
public void Listen(
string hostAddress,
int hostPort,
int maxNumberOfPeers
)
Public Sub Listen( _
ByVal hostAddress As String, _
ByVal hostPort As Integer, _
ByVal maxNumberOfPeers As Integer _
)
public void Listen(
string hostAddress,
int hostPort,
int maxNumberOfPeers
)
function Leadtools.Dicom.Networking.DicomNet.Listen(
hostAddress ,
hostPort ,
maxNumberOfPeers
)
public:
void Listen(
String^ hostAddress,
int hostPort,
int maxNumberOfPeers
)
hostAddress
The IP address of the host computer (the SCP's address).
hostPort
The port number of the host computer (the SCP's port).
maxNumberOfPeers
The maximum number of SCUs that may be connected to the SCP.
If hostAddress is an empty string or a null reference (Nothing in VB), the IP address will be the local computer's address. If hostPort is 0, the port number will be the number of the first available port.
To connect to a server as a client, you must first create and initialize a DicomNet object. Then call Connect to establish the connection.
To use your computer as an SCP, you must first create a DicomNet object. Then call Listen to listen for incoming connection requests.
Products |
Support |
Feedback: Listen Method (DicomNet) - Leadtools.Dicom |
Introduction |
Help Version 19.0.2017.6.19
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.