Questions tagged [echo-server]

This RFC specifies a standard for the ARPA Internet community. Hosts on the ARPA Internet that choose to implement an Echo Protocol are expected to adopt and implement this standard.

TCP Based Echo Service

One echo service is defined as a connection based application on TCP. A server listens for TCP connections on TCP port 7. Once a connection is established any data received is sent back. This continues until the calling user terminates the connection.

UDP Based Echo Service

Another echo service is defined as a datagram based application on UDP. A server listens for UDP datagrams on UDP port 7. When a datagram is received, the data from it is sent back in an answering datagram.

32 questions
0
votes
1 answer

How do I fixed skipped input/output lines in Java Echo Server?

New to network computing, so forgive my ignorance: All of my commands work except for the /caesarcipher - when I enter it, I don't receive an echo until the next message on the client side, and the server doesn't begin to perform the function until…
Yames
  • 3
  • 2
0
votes
1 answer

What's problem with my code. I am giving a curl post request but data is not showing in respose body of header

This code is receiving data from curl and suppose to show that data on the header body response. But it's not working. Where am I wrong??? const server = http.createServer((req , res) => { res.writeHead(200, {'Content-type': 'text/plain'}); const {…
tsm009
  • 39
  • 1
  • 9
0
votes
1 answer

laravel-echo-server using live redis server

I have installed laravel-echo-server , and also i installed redis local , the laravel-echo-server when the redis server is local all good , i update the laravel-echo-server.json , .env and the config.database to use the live redis server . but when…
roche
  • 127
  • 1
  • 2
  • 15
0
votes
1 answer

EchoServer, EchoClient in Android

I am trying to implement a simple EchoServer, EchoClient application with 2 Android Devices. But I have a major problem with the input methods in the Android. In Java, the common System.in input method is used but in Android I have no idea how to do…
JimmyD_84
  • 31
  • 3
0
votes
1 answer

could not be authenticated to presence-chats-channel (Client can not be authenticated, got HTTP status 403) Laravel Echo Server

Everything was working fine but when i try to run laravel-echo-server start from supervisor below error appear. [11:25:15 PM] - zmMtehwMctWVHxFBAAAB joined channel: chats-channel [11:25:16 PM] - Preparing authentication request to:…
UMAIR ALI
  • 1,055
  • 5
  • 14
  • 25
0
votes
1 answer

Optimise multiple network request

I made a model serving server with Python Tornado library and its sole purpose is to accept http request with payload and return result in json. The request can be made with either application/json or multipart/form-data. To authenticate and…
Moore Tech
  • 199
  • 1
  • 17
0
votes
0 answers

How can make a persistent variable in asyncio instance?

I try to write a echo server based on python3-asyncio. I thought it can store and modify use variable in instance of asyncio class. But I found that it seems all connection will make a new variable so it couldn't load previous value. Follow is the…
Archer
  • 1
0
votes
1 answer

lwIP echo server error sending data

I am working with the ethernet communication under echo server lwIP. I would like to capture samples from DMA to the HOST by ethernet. The system captures samples via UART. I am not able to make lwIP to send more than 2 packages higher than 1500…
Charli
  • 3
  • 6
0
votes
0 answers

Java Client Input Not Receive Further Input

I have this code to have the server repeatedly get input from the client until their input is viable (ViableInput returns true or false). Here is the code: public String[] getInput() throws IOException { String input = in.readLine(); while…
Adam G.
  • 107
  • 1
  • 8
0
votes
1 answer

Python 3.6 Multithread TCP Echo Server for more than one client

I've made a multithread TCP Echo Server in python 3.6, everything works fine (i can send message to the server and echo them back) until i try to send a message with a second client which is not received and if i try to send a second one gives me…
0
votes
1 answer

How To Display Characters Received Via A Socket?

I have a very simple Ruby program that acts as an "echo server". When you connect to it via telnet any text you type is echoed back. That part is working. If I add a 'putc' statement to also print each received character on the console running the…
Timm
  • 11
  • 1
  • 3
0
votes
1 answer

Creating an echo server - server can only respond once

I'm creating a multithreaded chat server that supposed to create a separate thread for each connected client. Every time a client connects, my server creates a new instance of a client handler class, that is supposed to keep track for ingoing and…
Jonatan Stenbacka
  • 1,824
  • 2
  • 23
  • 48
0
votes
1 answer

create an echo server

I am new to python and trying to code. I want to create simple echo server ie whatever I input to the client will simply be echo back by the server and if the client user press enter without writing anything then the server will disconnects. It may…
Prakash
  • 279
  • 1
  • 6
  • 18
0
votes
1 answer

Named pipes, select bad file descriptor C++

I just want to write a simple multiclient server with named pipes. I have a problem with server-side. When I had only reading, everything was great. Now, I added a possibility for server to send a message back to client - and now its not working at…
yak
  • 3,770
  • 19
  • 60
  • 111
0
votes
1 answer

Simple echo server in C++ and C in UNIX

I wrote a server which gets messages from clients and responds to them with words it has in its dictionary (dictionary I have in my file). For example: Client wrote: cat Server got: cat, Server wrote: miauuu! (and client can see the massege from…
yak
  • 3,770
  • 19
  • 60
  • 111