Today I decided to prepare and publish simple example of SSLsockets usages. As in my previous articles about TCP & UDP sockets I decided to write simple echo server that just returns the pacage it gets. Okay, I do not whant to waist your time and suggest just to go to the article.
UDP is a widely used protocol and Erlang is a great platform for different network application different kinds. Today I decided to publish small UDP echo server example. I know that UDP socket usage is very simple in Erlang, but I think somebody will find this code usefull.
Today I am going to write a brief article about Erlang gen_tcp usage. Probably the reader already has experience with sockets programming. But just to remind server architecture. First of all listening socket should be created, than server is going into accept state waiting for new connection. Once new connection is accepted server creates new thread to process incoming packets. While server waits for another connection.
Today I want to write small article about relatively simple subject - string IPv6 string to Erlang tuple conversion and visa versa. In most cases one can define IP directly in tuple format. But sometimes it is required to parse some type of configuration file or user input, for example user input from web interface. So, I hope this article will be useful for somebody
Some time ago I had to use sockets from Adobe Flash/Flex, so needed a simple one implemented in Erlang. I do not suggest to use it exactly like it listed below, but you may find some idea for your project there. I hope that you know what I am talking about, if you are reading this article, so do not want to waist your time...
PS: Adobe Flash policy server Erlang implementation available (very basic one).