My Account


RSS
oZone3D.Net RSS Feeds»RSS 2.0 Feeds

Blogs
»Demoniak3D Blog
»JeGX's Infamous Lab

Sponsors


Link to Us

oZone3D.Net 100% Realtime 3D

»All Site's Network

Visitors Map

 
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



2 -TCP/IP and Sockets reminder

At first, here is the TCP/IP protocole bible: RFC793.

TCP/IP is a large collection of different communication protocols based upon the two original protocols: TCP and IP. TCP is at the 4th level of the OSI model (transport layer) and IP at the 3rd level (network layer). The TCP protocol is used for the data transmission from an application to the network and can handle a byte flow (stream) between a source and an addressee in a total reliable way. A TCP connection is represented by a quintuplet {protocol, IP local_address, local_port, IP remote_address, remote_port} and is unique all over a given network. A connextion is totally defined by 2 half-sockets: the source (client) half socket and the destination (server) half socket .

When listening to a port, the TCP server creates a half-socket (server socket). When receiving a connection the server duplicates this half-socket and connects it with the distant half-socket (client socket) in order to build the communication socket that will insure the information data flow. Therefore, at each moment, the server has an available half-socket.





[ Index ]

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

»Next Page







Language:

3D Graphics Search Engine:

The Geeks Of 3D



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


GPU Caps Viewer
Current Version: 1.6.2
»GPU Caps Viewer
»GPU DB Submissions


FurMark
Current Version: 1.5.0
»FurMark
»Benchmark Submissions


PhysX FluidMark
Current Version: 1.0.0
»PhysX FluidMark
»Benchmark Submissions


Geeks3D News


Misc
»Texture DataPack #1
»Asus Silent Knight CPU Cooler


Announces

Shop at CheckCost UK.Find Software products like Windows, Antivirus Software, Video Editing & more.


Modul8: real time video mixing and compositing

Page generated in 0.069139003753662 seconds.