The Visio & Ssocket Extension
Modules
|
Visio News What and why Documentation Download Installation Examples Gtk-server Simple Sockets News What and why Documentation Download Installation Examples Other Contact Guestbook |
Installation
Linux/Windows 1) Put the "ssocket.bas" file in your shared directory: in Linux this defaults to "/usr/share/scriba/include", in Windows this defaults to "C:\ScriptBasic\include". 2) Put the "ssocket.so" file (Linux) or the “ssocket.dll” file (Windows) in your modules directory: Linux default is "/usr/local/lib/scriba", Windows default is: “C:\ScriptBasic\Modules”). Compilation instructions Linux (gcc) If you want to compile the sources yourself, please mind the following steps: 1) Put the "ssocket.bas" file in your shared directory (in Linux this defaults to "/usr/share/scriba/include"). 2) Create a new directory called 'ssocket' in the 'extensions' subdirectory of the ScriptBasic Unix source tree. Unzip the “ssocket-v<x>.tar.gz” package in this directory. 3) Look at the top of the makefile to adjust the includepaths and librarypaths to your system. 4) Run 'make'. Put the resulting "ssocket.so" file in your modules directory (Linux default: "/usr/local/lib/scriba"). Compilation instructions Win32 (Borland C++) 1) Put the "ssocket.bas" file in your shared directory (in Windows this defaults to "C:\ScriptBasic\include"). 2) Create a new directory called 'ssocket' in the 'extensions' subdirectory of the ScriptBasic Windows source tree. Unzip the “ssocket.zip” package in this directory. 3) In a DOS box, go to that directory. You will find a Makefile here. Look at the top of the makefile to adjust the includepaths and librarypaths to your system. 4) Run 'make' at the command prompt. Put the resulting “ssocket.dll” in your modules directory (Windows default: “C:\ScriptBasic\Modules”). |