Latest #gen-tcp Threads Top

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
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
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
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

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

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
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
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
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
code
def handle_client(client) do msg = IO.gets("> ") |> String.trim :gen_tcp.send(client, buffering(msg)) :gen_...
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
Here is my code: defmodule Server do def listen_for_con(ip_addr) do case :gen_tcp.listen(8000, [:binary, active: false, reus...
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