nettobac  0.0.0
Network features for FreeBASIC code
nettobac_system.bi File Reference

Header with informations on the executable. More...

Include dependency graph for nettobac_system.bi:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NL   /* !"\n" & */
 The new line charater[s]. More...
 
#define TARGET_OS   /* "UNIX" */
 The target operation system. More...
 
#define NL   /* !"\r\n" & */
 The new line charater[s]. More...
 
#define TARGET_OS   /* "windows" */
 The target operation system. More...
 
#define TCP_NODELAY   /* &h01 '*< Add missing symbol */
 
#define MSG_VERS   /* "0.0.0" */
 The version message. More...
 
#define MSG_WELCOME
 The welcome message. More...
 
#define MSG_COMPILE
 Compiler information. More...
 
#define MSG_ALL
 The info text about the current version. More...
 

Functions

*SUB NetworkInit ()
 Startup WSA on non-LINUX systems. More...
 
SUB NetworkExit ()
 Cleanup WSA on non-LINUX systems. More...
 

Detailed Description

Header with informations on the executable.

This file contains some macros to create informational texts about the nettobac* version, its compile date and target operating system. And also constructor and destructor SUBs for non-UNIX systems.

Copyright (C) LGPLv2.1, see ReadMe.md for details.

Since
0.0.0

Definition in file nettobac_system.bi.

Macro Definition Documentation

#define NL   /* !"\n" & */

The new line charater[s].

Definition at line 37 of file nettobac_system.bi.

#define TARGET_OS   /* "UNIX" */

The target operation system.

Definition at line 38 of file nettobac_system.bi.

#define NL   /* !"\r\n" & */

The new line charater[s].

Definition at line 37 of file nettobac_system.bi.

#define TARGET_OS   /* "windows" */

The target operation system.

Definition at line 38 of file nettobac_system.bi.

#define TCP_NODELAY   /* &h01 '*< Add missing symbol */

Definition at line 69 of file nettobac_system.bi.

#define MSG_VERS   /* "0.0.0" */

The version message.

Definition at line 73 of file nettobac_system.bi.

#define MSG_WELCOME
Value:
/* _
" nettobac-" & MSG_VERS & ", License LGPLv2.1" & NL _
" Copyright (C) 2015-2018 by Thomas{ doT ]Freiherr[ At ]gmx[ DoT }net" */

The welcome message.

Definition at line 76 of file nettobac_system.bi.

#define MSG_COMPILE
Value:
/* _
" Compiled: " & __DATE__ & ", " & __TIME__ & " with " & __FB_SIGNATURE__ & " for " & TARGET_OS */

Compiler information.

Definition at line 81 of file nettobac_system.bi.

#define MSG_ALL
Value:
/* _
MSG_WELCOME & NL MSG_COMPILE */

The info text about the current version.

Definition at line 85 of file nettobac_system.bi.

Function Documentation

* SUB NetworkInit ( )

Startup WSA on non-LINUX systems.

On non-UNIX systems we have to call WSAStartup to initialize the network features. This gets done here. The SUB runs as a constructor, adapt the priority (9999) when your code uses further constructors and you need a custom order.

Since
0.0.0

Definition at line 49 of file nettobac_system.bi.

SUB NetworkExit ( )

Cleanup WSA on non-LINUX systems.

On non-UNIX systems we have to call WSACleanup to finish the network features. This gets done here. The SUB runs as a destructor, adapt the priority (9999) when your code uses further destructors and you need a custom order.

Since
0.0.0

Definition at line 63 of file nettobac_system.bi.