********************************************************************************
*
*   \         (c) Thomas Antoni, 7.3.2006
*    \ /\           Mailto:thomas@antonis.de
*    ( )            Downloaded from www.antonis.de --- www.qbasic.de   
*  .( o ).
*                        ----==== Hottest QBasic Stuff on Earth !!! ====----
*
********************************************************************************

********************************************************************************
*
* .----------------.
* | ENGLISH  INFO  |  (Deutsche Info: Siehe unten)
* '----------------'
*
* Download File  : Dsock V0.5 -  TCP/IP protokoll toolset for QuickBASIC
*                  =========================================================
* Prog. Language : QuickBASIC 4.5 and 7.1/PDS, VBDOS, Turbopascal, C
* Author         : Andre Victor ("v1ctor")
*   - E-Mail     : av1ctor@yahoo.com.br
*   - Website    : -
*
********************************************************************************

*** Short Description
V1ctor's famous DOS-based "Dsock" TCI/IP library provides a toolset for 
QuickBASIC programmers for data communication via the Internet and computer 
networks

The tool requires a windows PC, because Dsock uses the open source "Windows 
Sockets 1.1" communication toolset via a VDX Library (Visual Basic Extension).

DSock is a Windows Socket (Winsock) DOS interface that can be used by MS BASIC 
compilers/interpreters (QuickBASIC 4.x, PDS and VBDOS), Borland TurboPascal and 
real-mode C compilers (for medium memory-model).     Almost all Winsock 1.x 
functions are supported (including asynchronous sockets) and it can be used in 
Windows 9x/Me/2000/XP (for Windows 95, Winsock must be updated to version 2: 
www.microsoft.com/windows95/downloads).

DSock "talks" directly to Winsock, so the latency will not be a real problem if 
taking into account the mode switches needed for every call (ie, v86 to 
protected back to v86 mode) and using it wisely (ie, if not calling select() to 
do polling, too many times per second).   


*** Rating
+++    (in a range of + to +++)


********************************************************************************
*
* .---------------.
* | DEUTSCHE INFO |
* '---------------'
*
* Download-Datei: Dsock V0.5 -  TCP/IP-Protokoll-Toolset fr QuickBASIC
*                 =========================================================
* Progr.sprache : QuickBASIC 4.5 and 7.1/PDS, VBDOS, Turbopascal, C
* Autor         : Andre Victor T. Vicentini ("v1ctor"), aus Sao Paulo, Brazil 
*   - E-Mail    : av1ctor@yahoo.com.br
*   - Webseite  : -
*
********************************************************************************

*** Kurzbeschreibung
V1ctors berhmte DSock-Bibliothek ermglicht den Datentransfer ber das TCP/IP-
Protokoll im Internet oder in einem Computer-Netzwerk aus QuickBASIC-Programmen 
heraus.

Das Ganze luft nur auf Windows-PCs, weil Dsock das open-source Windows- 
Kommunikations-Toolset "Windows Sockets 1.1" per VDX (Visual Basic Extension) 
einbindet.

Folgende Programmiersprachen werden untersttzt: QuickBASIC 4.x, 7.1/PDS, VBDOS, 
Borland TurboPascal und Real-Mode-C-Compiler (fr das "medium" Speichermodell).


*** Bewertung
+++   (in einer Skala von + bis +++)





********************************************************************************
*            Weitere Infos zu Dsock von Mario Zechner ("marzec")
********************************************************************************
Netzwerk Programmierung unter Qbasic 4.5 war lange Zeit ein Ding der Unmglichkeit,
bis ein lustiger Brazilianer namens V1ctor und ein paar andere Leute vor ein paar
Jahren DSOCK erschuffen, ein mehr oder minder Port von Winsock fr DOS. DSOCK
verwendet dabei eine modifizierte Winsock DLL und spricht diese via ein paar Tricks
an. Einige werden sich jetzt Fragen: "Was bitte ist Winsock?".

Ich will hier niemanden mit den schmutzigen Details langweilen, da QBTCP eher als
Einstieg in die Materie gedacht ist. Wer sich wirklich weiter mit der Materie 
beschftigen will, z.B. in Hinblick auf High Performance Netzwerk Applikationen
dem empfehle ich zuerst Beej's Guide to Network Programming[1] zu lesen.

Zurck zu Winsock. Winsock ist im Grunde eine Bibliothek, die es erlaubt ber
Netzwerk Gerte mit anderen Netzwerk Gerten zu kommunizieren. Um zwischen zwei
Gerten zu kommunizieren braucht man natrlich eine Art Sprache die beide Enden
des Kommunikationskanals verstehen. Eine solche Sprache wird Protokol genannt. 
Im Netzwerk Bereich gibt es natrlich viele verschiedene Protokole, darunter
z.B. IPX oder TCP/IP. Letzteres wird von Winsock verwendet und stellt quasi den
aktuellen Standard fr Kommunikation ber das Internet aber auch in sogenannten 
Local Area Networks ( LAN ) dar. Es sei nur kurz angemerkt das TCP/IP auf weiteren
Protokolen aufbaut, mehr dazu findet man unter [1] beziehungsweise im Internet.

