<?php


namespace Mainto\RpcServer\Util\Net;


use Mainto\RpcServer\Util\IO\ReadCloser;
use Mainto\RpcServer\Util\IO\ReadWriteCloser;

interface Conn extends ReadWriteCloser, ReadCloser {
    public function localAddr(): Address;

    public function remoteAddr(): Address;
}