Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > media > contrib > by-pkgid > 1f45e9305b72e517990f0e92784abd6f > files > 4

libnetwib54-5.4.0-4mdk.i586.rpm

                 -------------------------------
                 |        INTRODUCTION         |
                 -------------------------------

This package permits to COMPILE netwib54.dll. If you seek a 
pre-compiled version, download netwib-5.4.0-bin_windows.tgz.

Note : if you encounter problems, read ./doc/probleminstallwindows.txt

There are 2 steps :
 - install winpcap version >= 3.0
 - compile and install netwib54.dll


                 -------------------------------
                 |       STEP 1 : winpcap      |
                 -------------------------------

If winpcap isn't installed on your system, download it from :
  http://winpcap.polito.it/
Version 3.0, or superior, is needed.
Follow the given instructions in order to install it.

After installing winpcap, you should test if it is working properly.
If you do not want to bother testing, you can directly go to step 2.
To test winpcap's installation, you need to download windump :
  http://windump.polito.it/
Then, in a console window, if you enter "\directory...\windump",
network packet will be displayed (for example, you can ping another
computer and see the packets).
Once windump displays network packets, you can go to step2.

If you have a problem downloading, installing winpcap, or running 
windump, read the faq at :
  http://winpcap.polito.it/
  http://windump.polito.it/
If you still have a problem, contact Winpcap's developers.
I cannot help you, because I do not maintain this code.


                 ------------------------------
                 |    STEP 2 : netwib54.dll   |
                 ------------------------------

You need a Visual C++ compiler. I suggest you version 6 (it also
works with version 4, but you have to create your own Workspace).

Rename "src/netwib/def_windows.h" to "src/netwib/def.h".

Open the Workspace file "src/compil/windows/netwib/netwib.dsw".
Select Release (instead of Debug) as "Active Configuration" under Build.

Press F7 key, to build everything.

The following files should be generated :
 src/compil/windows/netwib/Release/netwib54.lib
 src/compil/windows/netwib/Release/netwib54.dll

Copy "src/compil/windows/netwib/Release/netwib54.dll" to
 - "c:\Windows\System\netwib54.dll"   [under Windows 95, 98, Me]
 - "c:\winnt\System32\netwib54.dll"   [under Windows NT, 2000]
 - "c:\windows\System32\netwib54.dll" [under Windows XP]

Create a directory which will contain material for building 
projects using netwib (for example "c:\netwib54\").

Copy "src/compil/windows/netwib/Release/netwib54.lib" to 
"c:\netwib54\lib\netwib54.lib".

Copy "src\*.h" to "c:\netwib54\include\*.h".


                 ------------------------------
                 |          NEXT STEP         |
                 ------------------------------

If you want to compile a program needing netwib library, that's all.

If you want to create your own program using netwib library :
 - Download netw-5.4.0-test.tgz which shows how to use each function.
 - Read ./doc/compilwindows.txt.
 - Download and read netwib-5.4.0-doc_html.tgz to obtain information
   about netwib.