Re: Permission Denied trying to connect to localhost in unit test

2019-12-13 Thread Robert Walsh via Cocoa-dev
ndle that targets that GUI app? > > Rob > > > > From: Keary Suska > Sent: Friday, December 13, 2019 12:18 PM > To: Robert Walsh > Cc: Cocoa-Dev (Apple) > Subject: Re: Permission Denied trying to connect to localhost in unit test >

Re: Permission Denied trying to connect to localhost in unit test

2019-12-13 Thread Keary Suska via Cocoa-dev
t; Rob > > > > From: Keary Suska > Sent: Friday, December 13, 2019 12:18 PM > To: Robert Walsh > Cc: Cocoa-Dev (Apple) > Subject: Re: Permission Denied trying to connect to localhost in unit test > > I would first test to see if yo

Re: Permission Denied trying to connect to localhost in unit test

2019-12-13 Thread Alex Zavatone via Cocoa-dev
Is it an https/http error? On iOS, we have to add an exception in the info.plist for ATS (Application Transport Security) to allow http traffic. Is there anything similar on the Mac? Sent from my iPhone > On Dec 12, 2019, at 12:58 PM, Jens Alfke via Cocoa-dev > wrote: > > > >> On Dec 12

Re: Permission Denied trying to connect to localhost in unit test

2019-12-13 Thread Robert Walsh via Cocoa-dev
, and then create a unit test bundle that targets that GUI app? Rob From: Keary Suska Sent: Friday, December 13, 2019 12:18 PM To: Robert Walsh Cc: Cocoa-Dev (Apple) Subject: Re: Permission Denied trying to connect to localhost in unit test I would first test

Re: Permission Denied trying to connect to localhost in unit test

2019-12-13 Thread Keary Suska via Cocoa-dev
t see any other > relevant choices. > > > Rob > > > ____________________ > From: Jens Alfke > Sent: Thursday, December 12, 2019 1:58 PM > To: Robert Walsh > Cc: Cocoa-Dev (Apple) > Subject: Re: Permission Denied trying to connect to localhost in u

Re: Permission Denied trying to connect to localhost in unit test

2019-12-13 Thread Robert Walsh via Cocoa-dev
e Sent: Thursday, December 12, 2019 1:58 PM To: Robert Walsh Cc: Cocoa-Dev (Apple) Subject: Re: Permission Denied trying to connect to localhost in unit test On Dec 12, 2019, at 7:42 AM, Robert Walsh via Cocoa-dev mailto:cocoa-dev@lists.apple.com>> wrote: I am writing a command line a

Re: Permission Denied trying to connect to localhost in unit test

2019-12-12 Thread Jens Alfke via Cocoa-dev
> On Dec 12, 2019, at 7:42 AM, Robert Walsh via Cocoa-dev > wrote: > > I am writing a command line application in Objective-C that needs to make a > TCP connection to a server. In a unit test for the TcpClient class I am > writing, I have a simple TCP server that listens for connections in

Permission Denied trying to connect to localhost in unit test

2019-12-12 Thread Robert Walsh via Cocoa-dev
I am writing a command line application in Objective-C that needs to make a TCP connection to a server. In a unit test for the TcpClient class I am writing, I have a simple TCP server that listens for connections in a thread. When I try to connect to this socket from the client socket class,