DicomObjects.NET.V8
DicomObjects Namespace / DicomServer Class / Accept Method
The underlying socket
A stream based on that socket



In This Topic
    Accept Method
    In This Topic
    Means to allow DICOM negotiation on an existing socket
    Syntax
    'Declaration
     
    Public Sub Accept( _
       ByVal Socket As Socket, _
       ByVal Stream As Stream _
    ) 
    'Usage
     
    Dim instance As DicomServer
    Dim Socket As Socket
    Dim Stream As Stream
     
    instance.Accept(Socket, Stream)
    public void Accept( 
       Socket Socket,
       Stream Stream
    )
    public:
    void Accept( 
       Socket^ Socket,
       Stream^ Stream
    ) 

    Parameters

    Socket
    The underlying socket
    Stream
    A stream based on that socket
    Remarks

    Normally this is all handled internally by DicomObjects, but this method is provided for developers who may wish to use their own listening and authorisation mechanisms

    Note that only one association is allowed per TCP connection, so this does require a "new" TCP connection, though TLS negotiation etc. may of course have been performed.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also