---
title: NSConnectionDelegate
framework: foundation
role: symbol
role_heading: Protocol
path: foundation/nsconnectiondelegate
---

# NSConnectionDelegate

An interface for interacting with low-level, interprocess connections.

## Declaration

```occ
@protocol NSConnectionDelegate <NSObject>
```

## Overview

Overview The NSConnectionDelegate protocol defines the optional methods implemented by delegates of NSConnection objects.

## Topics

### Authenticating

- [authenticateComponents:withData:](foundation/nsconnectiondelegate/authenticatecomponents:withdata:.md)
- [authenticationDataForComponents:](foundation/nsconnectiondelegate/authenticationdataforcomponents:.md)

### Responding to a Connection

- [connection:shouldMakeNewConnection:](foundation/nsconnectiondelegate/connection:shouldmakenewconnection:.md)
- [connection:handleRequest:](foundation/nsconnectiondelegate/connection:handlerequest:.md)
- [createConversationForConnection:](foundation/nsconnectiondelegate/createconversationforconnection:.md)
- [makeNewConnection:sender:](foundation/nsconnectiondelegate/makenewconnection:sender:.md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Legacy

- [NSMachPortDelegate](foundation/nsmachportdelegate.md)
- [NSConnection](foundation/nsconnection.md)
- [NSDistantObject](foundation/nsdistantobject.md)
- [NSDistantObjectRequest](foundation/nsdistantobjectrequest.md)
- [NSMachBootstrapServer](foundation/nsmachbootstrapserver.md)
- [NSMachPort](foundation/nsmachport.md)
- [MessagePort](foundation/messageport.md)
- [NSMessagePortNameServer](foundation/nsmessageportnameserver.md)
- [NSPortCoder](foundation/nsportcoder.md)
- [PortDelegate](foundation/portdelegate.md)
- [PortMessage](foundation/portmessage.md)
- [NSPortNameServer](foundation/nsportnameserver.md)
- [NSProtocolChecker](foundation/nsprotocolchecker.md)
- [NSSocketPortNameServer](foundation/nssocketportnameserver.md)
