This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: other services ok, ftp not (was 1.5.11 - tcp problems)


Brian Dessent wrote:

Brian Dessent wrote:



cat <<ENDL >getservbyname-mingw.c && gcc -mno-cygwin \
getservbyname-mingw.c -o getservbyname-mingw && ./getservbyname-mingw



Correction: add "-lws2_32" to the gcc options.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/




Oh, thank you. I've actually done it and my previous post actually shows the output of the executable compiled with

gcc -mno-cygwin -lws2_32 getservbyname-mingw.c

There's something definitely wrong here. I know that doing the compile should work.

Things are strange....

Thanks!

Best Regards,

Carlo

--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph










-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]