Announce: Tcp4u - sockets library
- Posted by Ray Smith <smithr at IX.NET.AU> Nov 02, 2000
- 382 views
Hi, I just sent Rob my sockets library called euTcp4u which I have mentioned on this list before. It is a wrapper for a C cross platform sockets library called (funnily enough) Tcp4u. I have only been successful using the Windows version. (In theory it should be possible to get the Linux version to work as well.) The library enables you to download any file from a web server and create programs that use sockets to communicate using Tcp. There are sample programs for almost all of the functions available and extensive documentation. This library will be very useful if you want to create a socket program between 1 client and 1 server. Also if speed isn’t an issue you could use it to make a multi-client server ... but there will be timeout’s while the server does a wait for new client connections. I basically stopped working on this project when I couldn’t work out how to program a multi-client server program “nicely”. I created high level functions that can send/receive complete Euphoria sequence with 1 line of code. For the projects that it is good for (1-1 client server projects) I think it is well worth looking into. If I ever find a way to make a “nice” multi-client server program I’ll add new features to the library … otherwise it will probably stay as is. I’d still like to write a couple of simple applications like a simple chat program using Win32lib or some simple board type games using it. But this won’t happen in the near future. If anyone has any suggestions / bugs / comments etc, please let me know. Regards, Ray Smith