vendredi 2 octobre 2020

Looking for simple socket server application that could be used to test socket applications?

I'm working on embedded system with modem and I want to connect from modem to anything that can show data from client and optionally send some data to client.

I'm looking for a tool that would:

  • open TCP socket
  • print some info when client connects
  • print incoming data
  • send some data to client, maybe input from console? (optional)
  • print some info when client disconnects

I could just take this (or another socket example) and compile it:

https://www.geeksforgeeks.org/tcp-server-client-implementation-in-c/

but maybe there is something like this or much better in Debian APT repositories?

Aucun commentaire:

Enregistrer un commentaire