GLSL Hacker
Current version: 0.8.2
»GLSL Hacker homepage
»GLSL Hacker Overview

FurMark
Current version: 1.18.0
»FurMark homepage
»FurMark 1.9.x Submissions

GPU Caps Viewer
Current version: 1.31.0
»GPU Caps Viewer homepage
»GPU DB Submissions

GPU Shark
Current version: 0.9.10
»GPU Shark homepage


Blogs
»JeGX's HackLab

Geeks3D's Articles
»GPU Memory Speed Demystified

»Multi-Threading Programming Resources

»GeForce and Radeon OpenCL Overview

»How to Get your Multi-core CPU Busy at 100%

»How To Make a VGA Dummy Plug

»Night Vision Post Processing Filter


PhysX FluidMark
Current version: 1.5.2
»FluidMark homepage
»FluidMark 1.4.x Submissions

GeeXLab
Current version: 0.4.0
»GeeXLab homepage
»GeeXLab Overview

TessMark
Current version: 0.3.0
»TessMark homepage

ShaderToyMark
Current version: 0.3.0
»ShaderToyMark homepage
»ShaderToyMark Scores

Demoniak3D
Current Version: 1.23.0
»Demoniak3D
»Download
»Libraries and Plugins
»Demos
»Online Help - Reference Guide
»Codes Samples

3D Graphics Search Engine:

The Geeks Of 3D

 
The LUA SocketLib and the Coroutines

By Jerome Guinot aka 'JeGX' - jegx_AT_ozone3d(dot)net

Initial draft: May 2, 2006


[ Index ]

Introduction | Page 2 | Page 3 | Page 4 | Page 5

»Next Page







1 - Introduction

2 - General TCP/IP and Sockets reminder

3 - Setting up a TCP/IP server

4 - Incoming and outgoing connections management - Coroutines

5 - The Demo

6 - Further reading

7 - Downloads




Prerequisite

1 - Introduction

This tutorial is meant to provide the user who has already some understanding in programming with the knowledge necessary to use the LUA SocketLib and the Coroutines in order to set up a TCP/IP server in a host application. In our case, the host application is Demoniak3D but the guiding principle remains worthwhile whatever the host application is.

As a part of Hyperion's core, the LUA SocketLib provides high efficiency and maximise its usability. The SocketLib is a fantastic library which provides all we need and even more for handling TCP-UPD/IP networking connections. This library offers high level objects, such as TCP or UDP clients and servers as well as FTP or HTTP protocoles.

In this tutorial, we will focus on the use of objects such as socket and TCP/IP servers provided by the SocketLib. Once the basic operations are mastered, using all the other components of the library will almost be a piece of cake.

The coroutines are brand new features of LUA version 5.1 and will be used as examples for managing the TCP/IP server.





[ Index ]

Introduction | Page 2 | Page 3 | Page 4 | Page 5

»Next Page





GLSL Hacker demos


GLSL - Mesh exploder


PhysX 3 cloth demo


Normal visualizer with GS


Compute Shaders test on Radeon


Raymarching in GLSL



Geeks3D latest news


Geeks3D forum news


Misc
»Texture DataPack #1
»Asus Silent Knight CPU Cooler
Page generated in 0.0068168640136719 seconds.