Simple hello world server

Hi,

I m beginner in shell programming, now I want to write a simple server that create a pipe and write "hello" on it. In an other hand, a client connect to this server, and retrieve this message.

Thanks for you

Since you want to write it...
1) what have you tried so far?
2) What are your questions?

Cheers

Hi sea,
I searched on the internet for this topic but I could not find how to create a simple server that creates a socket and starts listening to a client on this socket. The client connects on this server, if ok then both client and server start to exchange messages.

thanks

What kind of server?
Web-, Mail-, File-, LDAP-, SQL-, AD- or Loginserver?

There are threads about how to listen to sockets, please use the forum search function.
What you described is regular expected behaviour and nothing special.

Last time i repeat myself:

  1. What have you tried so far?
  2. What is your SPECIFIC question?

Cheers

That might be a bit oversimplified. Are you talking of (named) pipes? Or sockets? Server and client on the same local node? Network operation?