Re: Need tips to open a socket and to debug it

2016-01-19 Thread Corinna Vinschen
On Jan 19 08:48, Henri wrote: > Corinna Vinschen cygwin.com> writes: > > On Jan 18 18:10, Henri wrote: > > > Corinna Vinschen cygwin.com> writes: > > > > > > > There's no firewall involved if a simple socket call goes wrong. > > > > For AF_LOCAL Cygwin opens an AF_INET socket, but which is unbou

Re: Need tips to open a socket and to debug it

2016-01-19 Thread Henri
Corinna Vinschen cygwin.com> writes: > > On Jan 18 18:10, Henri wrote: > > Corinna Vinschen cygwin.com> writes: > > > > > There's no firewall involved if a simple socket call goes wrong. > > > For AF_LOCAL Cygwin opens an AF_INET socket, but which is unbound > > > until you call bind or connec

Re: Need tips to open a socket and to debug it

2016-01-18 Thread Corinna Vinschen
On Jan 18 18:10, Henri wrote: > Corinna Vinschen cygwin.com> writes: > > > There's no firewall involved if a simple socket call goes wrong. > > For AF_LOCAL Cygwin opens an AF_INET socket, but which is unbound > > until you call bind or connect. > > s/AF_INET/AF_UNIX/ ? (sorry for my intrusi

Re: Need tips to open a socket and to debug it

2016-01-18 Thread Henri
Corinna Vinschen cygwin.com> writes: > There's no firewall involved if a simple socket call goes wrong. > For AF_LOCAL Cygwin opens an AF_INET socket, but which is unbound > until you call bind or connect. s/AF_INET/AF_UNIX/ ? (sorry for my intrusion) Regards, Henri -- Problem reports:

Re: Need tips to open a socket and to debug it

2016-01-18 Thread Corinna Vinschen
On Jan 16 18:16, Glen L wrote: > > Greetings all, > > I'm moving a "C" program to 64-bit Windows 10 that worked previously > in 32-bit Win7. It builds, compiles and runs (AFAIK) with the > exception of being able to open a socket. Calling the socket thusly: > > if ((g->listen = socket(PF_LOC