Revision as of 11:48, 23 May 2007 (edit) Sandman (Talk | contribs) ← Previous diff |
Current revision (12:19, 28 February 2008) (edit) (undo) Sandman (Talk | contribs) m |
(16 intermediate revisions not shown.) |
Line 1: |
Line 1: |
- | [[Category:dll]] | + | #REDIRECT [[DLL:Network.DLL]] |
- | [[Category:networkdll]] | + | |
- | | + | |
- | == Definition == | + | |
- | Network.DLL is a [[DLL]] for internet/network communication between two [[Fenix]] | + | |
- | programs or a Fenix program and a different program. It handles quite a few | + | |
- | things on its own, so the user can focus on different things in his program. | + | |
- | | + | |
- | == Features == | + | |
- | * One command setup, another one for listening for connections (server) or one for opening a connection (client). | + | |
- | * Connection status monitor, informs Fenix of the status of the connections. | + | |
- | * Sending and receiving of all variables, graphs, files, whatever you want. | + | |
- | * Download/upload meter, for measuring of speeds and totals. | + | |
- | * Automatic message separation (separation string specifiable). | + | |
- | * Dynamic messagebuffer provides limitless sending and receiving. | + | |
- | | + | |
- | == How to use == | + | |
- | To be able to use it, you must include the Network.DLL functionality: | + | |
- | <pre>include "Network.fh";</pre> | + | |
- | First you initialize Network.DLL: | + | |
- | <pre>NET_Init(0,10,1);</pre> | + | |
- | From this point you can do whatever you like, for example connect to google on port 3435: | + | |
- | <pre>NetID=NET_Open("www.google.com",3435);</pre> | + | |
- | And send a message: | + | |
- | <pre>NET_Message(NetID,"Hello!");</pre> | + | |
- | Or listen for connections on port 4555: | + | |
- | <pre>NET_Listen(4555);</pre> | + | |
- | | + | |
- | == Future == | + | |
- | It probably will have UDP support as well, though at the moment only TCP is used. | + | |
- | | + | |
- | == Download == | + | |
- | Here's the complete package containing a simple testprogram with commented source, the DLL, the sourcecode and full documentation: | + | |
- | | + | |
- | * [http://wwwhome.cs.utwente.nl/~bergfi/fenix/NETv1.54a.zip Network.DLL v1.54a]<br/> | + | |
- | * [http://wwwhome.cs.utwente.nl/~bergfi/fenix/NETv1.54a(Fenix0.83b).zip Network.DLL v1.54a for Fenix 0.83b]<br/> | + | |
- | * [http://wwwhome.cs.utwente.nl/~bergfi/fenix/NETv1.54a(Fenix0.92a).zip Network.DLL v1.54a for Fenix 0.92a]<br/> | + | |
- | * [http://wwwhome.cs.utwente.nl/~bergfi/fenix/NETv1.54a_Tester.zip Network.DLL v1.54a Tester] | + | |
- | | + | |
- | Also Link3rn3l made an example, using Fenix 0.91. Fenix 0.92a included: | + | |
- | | + | |
- | * [http://wwwhome.cs.utwente.nl/~bergfi/fenix/NETv1.54_Example.zip Network.DLL v1.54 Example] | + | |
- | | + | |
- | == Links == | + | |
- | * [[:Category:networkdllfunctions|List of Network.DLL functions]] | + | |
- | * [[:Category:networkdll|List of articles about Network.DLL]] | + | |
- | * [[List of Fenix DLLs]] | + | |
- | | + | |
- | * [http://www.booleansoup.com/index.php?p=32&mode=viewtopic&id=430&page=0 News, download links and releases of Network DLL on Booleansoup] | + | |