Mail Archives: djgpp/1998/05/19/14:23:57
Jang Bok Choel (chopin AT seoro DOT co DOT kr) wrote:
: How to i make a socket program in Win 95 or Win NT?
This depends whether you need the program to run on both Win'95
and NT.
If you want it to run on both, then you will have to use a
Windows compiler. You can get an add-on for DJGPP called RSXNT/DJ which
allows you to build Windows programs. It can be found in the v2tk/
directory of the DJGPP archive. I recall that people have found it
difficult to set up. There is also a free Windows compiler called lccwin32
that comes with a dialog designer, and is easy to set up.
If you require the program to run only on Win'95, then you could
use DJGPP and one of the many socket libraries that are out there. I would
recommend libsocket, which I'm working on :), which can be found at:
http://irix.bris.ac.uk/~rd5718/libsocket/
This does not work with Winsock 2 at the moment, which you might have if
you've upgraded to Internet Explorer 4 or you have a later release of
Win'95 or Win'98.
Hope this helps.
--
==============================================================================
Rich Dawe - 3rd year Physicist @ Bristol Uni, UK
E-mail: rd5718 AT bristol DOT ac DOT uk Web pages: http://irix.bris.ac.uk/~rd5718/
==============================================================================
- Raw text -