[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a new Socket for a newly created connection.
Assembly: System (in System.dll)
synchronously extracts the first pending connection request from the connection request queue of the listening socket, and then creates and returns a new Socket. You cannot use this returned Socket to accept any additional connections from the connection queue. However, you can call the RemoteEndPoint method of the returned Socket to identify the remote host's network address and port number.
Before calling the method, you must first call the Listen method to listen for and queue incoming connection requests.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.