pub async fn listen(address: SocketAddr) -> Result<TcpListener, AppError>
Binds a TCP listener.
AppError::BadArgument if the address can’t be bound.
AppError::BadArgument