DicomObjects.NET8 Documentation
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also