Latest #gen-tcp Threads Top

water
This code let’s me connect with a 2d camera. I’m running Linux and I can read the messages from the TCP server on the camera. But it ne...
New
Odaeus
Hi everyone, I’m implementing something that needs to read a TCP stream for the first time and trying to get my head around gen_tcp. I s...
New
cj1128
I implemented a simple echo server in Elixir, repo is here GitHub - cj1128/echo_server. When I test it using echo hello | nc localhost 4...
New
derek-zhou
I am seeing this in my log: ... (stdlib 3.7.1) gen_server.erl:637: :gen_server.try_dispatch/4 (stdlib 3.7.1) gen_server.erl:711:...
New
code
def handle_client(client) do msg = IO.gets("> ") |> String.trim :gen_tcp.send(client, buffering(msg)) :gen_...
New
code
Here is my code: defmodule Server do def listen_for_con(ip_addr) do case :gen_tcp.listen(8000, [:binary, active: false, reus...
New
ityonemo
I have a GenServer that is tied to a tcp connection; if the connection fails it fails init/1. This is a problem because if the other end...
New
smanza
Hello. I’m developping a P2P network using Elixir and I’m wondering if I must go to raw TCP or using HTTP. Currently I thought to use ...
New
yoda_machine
I am using :gen_tcp to send raw data between peers. How secure is gen_tcp? Do I need to add an extra security layer on top of what gen_tc...
New
brightball
I’m trying to estimate the maximum number of concurrent requests that could be made to outside servers based on RAM available. I figured ...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

water
This code let’s me connect with a 2d camera. I’m running Linux and I can read the messages from the TCP server on the camera. But it ne...
New

Last Three Year's Trending Top

dimitarvp
Hey everyone, If I want to stream data from a file, it’s mega easy: File.stream!("/path/to/file") |> Stream.map(...) |> Stream.fi...
New

Trending Over Three Years Top

Ciboulette
Hey Elixir community, I have a question, i'm building a communication between php and elixir via socket. I can't manage to received str...
New
jononomo
All I want it to do is emulate the following netcat TCP command, which is working properly from my command line: $ echo "|c country_US" ...
New
WolfDan
Hey there! Lately I’ve been playing a lot FFXIV and Black Deset Online, during my game time I started to think about the millions of eve...
New
girng
hi all! i’ve been on elixir’s irc but can’t really get anything working. so i decided to join the forum. i’m from the crystal lang repo,...
New
Qqwy
In the weekend of 26-28 January, I worked together with five other programmers and a musician at this years’ Global Game Jam. For who has...
New
jononomo
I have the following line in an elixir module: {:ok, socket} = :gen_tcp.connect("my-appname-1842614232.us-east-1.elb.amazonaws.com", 40...
New
kseg
I feel like I’m doing something silly. I’m just trying to compare a dummy http server to cowboy and even though my “implementation” is ab...
New
favetelinguis
I have an ssl socket which receives messages in JSON format. Right now im using Erlang ssl to setup the connection. In my implementation ...
New
CptnKirk
I'm coming from a Scala and Akka Streams background. Elixir GenStage and Flow seem familiar and attractive. What I seem to be missing i...
New
smanza
Hello. I’m developping a P2P network using Elixir and I’m wondering if I must go to raw TCP or using HTTP. Currently I thought to use ...
New
Odaeus
Hi everyone, I’m implementing something that needs to read a TCP stream for the first time and trying to get my head around gen_tcp. I s...
New
irresponsible
Bricks is a new suite of sockets libraries which will ultimately grow to encompass: TCP/SSL/Unix sockets Connector and acceptor pools H...
New
mayulu
Hi, The question I tried a lot and have got no idea. After {:ok, conn} = Redix.start_link(host: "127.0.0.1", port: 6379) conn is PI...
New
cj1128
I implemented a simple echo server in Elixir, repo is here GitHub - cj1128/echo_server. When I test it using echo hello | nc localhost 4...
New
yoda_machine
I am using :gen_tcp to send raw data between peers. How secure is gen_tcp? Do I need to add an extra security layer on top of what gen_tc...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement