Hi,
I am trying to develop a simple program that uses Sockets. I have a windows machine and MUST use C++. I found out that I can use C's Socket (#include <sys/socket.h>) API calls, but this is only possible on a unix machine. So I installed Cygwin to imitate a unix environment on my windows machine. I already had MinGW on my machine, and now I have Cygwin too. I appended, to my system variable (Control Panel/System/Advanced/Environment Variables) called Path, C:\cygwin\bin.
Q1) How do I launch eclipse from "within cygwin" (ie. "bash")? I copied the eclipse folder from my C:\ drive to my cygwin folder, but when i CD into the eclipse folder and type eclipse.exe it says command not found (even though ls reports the exe).
Q2) How do I point eclipse to the socket.h file, which is located within my "home" root (ie. within C:\cygwin\ path). This question might not be relevant to this forum, but if you know a quick answer, here is a chance to score some quick karma cookies
Many thanks.