Re: Problem with socket in gcc programming

2003-02-12 Thread Randall R Schulz
At 08:40 2003-02-12, Igor Pechtchanski wrote: On Thu, 13 Feb 2003, Henry wrote: > My cygwin version is 2.194.2.24. I have seen the future and it is 2.259.2.4. Oh my god! And I'm only running 1.3.20! :-o How *did* I let my copy get *so* out-of-date? I must update *immediately* Pl

Re: Re: Problem with socket in gcc programming

2003-02-12 Thread Pavel Tsekov
Hello, Please, keep replies on the list - I read it and so do many other people out there. On Thu, 13 Feb 2003, Henry wrote: > Thanks very much > > I made a mistake on the cygwin version just now. > > $ uname -a > CYGWIN_NT-5.0 ZSUHENRY 1.3.10(0.51/3/2) 2002-02-25 11:14 i586 unknown

Re: Problem with socket in gcc programming

2003-02-12 Thread Igor Pechtchanski
On Thu, 13 Feb 2003, Henry wrote: > My cygwin version is 2.194.2.24. Oh my god! And I'm only running 1.3.20! :-o How *did* I let my copy get *so* out-of-date? I must update *immediately* Please tell me which mirrors carry that version! Igor P.S. For proper emphasis, the above

Re: Problem with socket in gcc programming

2003-02-12 Thread Pavel Tsekov
Hello, Works fine here. I'm running your testcase on: $ uname -a CYGWIN_NT-5.0 mordor 1.3.20(0.73/3/2) 2003-02-08 12:10 i686 unknown unknown Cygwin It will help if you provide more infomation about your system environment and the version of Cygwin that you are running. To learn how to do this

Problem with socket in gcc programming

2003-02-12 Thread Henry
This is a demo program to issue my problem i'm facing to. #include #include #include int main(int argc, char *argv[]) { int sockfd, accefd, rsinlen, on = 1; pid_t pid; struct sockaddr_in sin, rsin; unsigned long waittime; if (fork())