Note that Mingw and Gnuwin32 aren't the same. Gnuwin32 only has Mingw import libraries for the DLLs in ported packages, such as libpng, and libiconv. Import libraries for system DLLs such as winsock, kernel32, etc. are provided with the Mingw distribution from www.mingw.org. It seems there are not yet import libraries for net.dll and net6.dll. So you would have to create these yourself.
Kees Zeelenberg ----- Original Message ----- From: Mark Leary To: Kees Zeelenberg Cc: [EMAIL PROTECTED] Sent: Thursday, November 21, 2002 8:51 PM Subject: Re: [GnuWin32-Users] Native Ports for IPv4/IPV6 Sockets Thanks Kees, This information helps. Microsoft provides a net.dll and net6.dll on Windows-XP pro that supports both IPv4 and IPv6 sockets, so it looks as if Mingw is a good choice for this type of application. However, the GunWin32 product summary page implies that the gcc compilers already use Mingw : "At present, all developments have been done under MS-Windows 98, using the Mingw port of the GNU C and C++ ( GCC )compilers, although they could equally have been done with Microsoft Visual C++ (MSVC) or Borland C++ (BCC). a similar type of import library is available. " If you read a little further, you'll see that GnuWin32 includes import libraries for Microsoft: http://gnuwin32.sourceforge.net/msimport.html So does this imply that the Mingw import libraries are already part of GnuWin32? If so, one should be able to use GCC and the socket API routines with the import libraries for Microsoft, provided these libraries contain the DLL's for Windows Sockets. Thoughts? Thanks, MarkL Kees Zeelenberg wrote: Gnuwin32 by itself does not support anything: it is merelya collection of ports to Win32. If you wish to compile programs that rely on IPv4/IPV6 Sockets, then there aretwo options. First you may write a library (a DLL) that "translates"IPv4/IPV6 Sockets to ordinary Win32 sockets, e.g. byproviding an interface to the Winsock library that is standardon Win32 systems. I don't know anything about IPv4/IPV6Sockets, so I can't say whether this is indeed possible.Secondly, if you have Windows XP Pro, then a DLL with aninterface to IPv4/IPV6 Sockets is apparently available. Mingw (GCC for Win32) might have an import library for this DLL. If ithas none, then you may be able to create one yourself. More onthis can be found at the Mingw site: www.mingw.org.Kees Zeelenberg----- Original Message ----- From: "Mark Leary" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Thursday, November 21, 2002 6:27 PMSubject: [GnuWin32-Users] Native Ports for IPv4/IPV6 Sockets Hello,Folks, I am new to this mailing list and am looking forsome information regarding the native ports for Windowssockets.What I am trying to determine is if gnuwin32 supports the useof the Berkley socket API routines. I have used Cygwin32before and was indeed able to use the Berkley Sockets tocreate socket applications, but I believe the Cygwin32product uses Unix emulation and is not a true nativeport for GNU.What I am especially interested in is if Gnuwin32 supportsIPv6 sockets. These socket API routines are available andfunctional on Linux, and Windows-XP Professional now hasIPv6 support. So does the latest version on GnuWin32 providea native port to the WinSocket library for both IPv4/IPv6 sockets?Any information or experience would be greatly appreciated.Thanks,MarkL --------------------------------------------------- ----This sf.net emai l is sponsored by:ThinkGeekWelcome to geek heaven.http://thinkgeek.com/sf______________________________________________ _GnuWin32-Users mailing [EMAIL PROTECTED]https://lists.sourceforge.net/lists/ listinfo/gnuwin32-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ GnuWin32-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/gnuwin32-users