03-09-2010
Client server communication using FIFO.
Hiii.....
I need a client server communication using a FIFO. Sever is contacted by multiple clients.Each client writes its request to a FIFO.The server replies back to the client through a client specific FIFO.
give any link to sample FIFO programs..........
Thanking you
KRISH
10 More Discussions You Might Find Interesting
1. Programming
Hello everybody !
I have a first program, called "server" which build 2 FIFO's in this way:
...
#define PERMS 0666
#define FIFO1 "\tmp\cerere"
#define FIFO2 "\tmp\raspuns"
...
mkfifo(FIFO1, PERMS)
mkfifo(FIFO2, PERMS)
...
I want to access these FIFO's in a second separate program,... (1 Reply)
Discussion started by: Ametis1970
1 Replies
2. Programming
Problem
- Linux Client/Server Socket Application: Preventing Client from quitting on server crash
Hi,
I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64.
I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
Discussion started by: varun.nagpaal
2 Replies
3. Programming
So, I have a 'task' to create communication channel between Oracle db (11gR2 on AIX) and some client wich is choosed to be a .net client (.net framework 3.5).
we created a pipe on client (.net) side using:
System.IO.Pipes.NamedPipeClientStream pipeClient = new... (2 Replies)
Discussion started by: bongo
2 Replies
4. Windows & DOS: Issues & Discussions
Hi All,
I need your expertise in finding a way to solve my problem.Please excuse if this is not the right forum to ask this question and guide me to the correct forum,if possible.
I am a DBA and on a daily basis i have to ftp huge dump files from my company server to my laptop and then... (3 Replies)
Discussion started by: kunwar
3 Replies
5. Programming
I want to have a message send & receive through 2 half-duplex pipes
Flow of data
top half pipe
stdin--->parent(client) fd1--->pipe1-->child(server) fd1
bottom half pipe
child(server) fd2---->pipe2--->parent(client) fd2--->stdout
I need to have boundary structed message... (1 Reply)
Discussion started by: ouou
1 Replies
6. Programming
Hello,
Please I would create a client and a server in C that communicate frequently. The client sends "hello message" to the server, the server waits a few minutes and sends a "hello message" to the client, the client sends again "hello server ".. etc up to 15 minutes
Can you guide me... (3 Replies)
Discussion started by: chercheur857
3 Replies
7. UNIX for Dummies Questions & Answers
Hello,
Please, is there on unix.com the source code of a client C and server C: as shown in following figure:
File:InternetSocketBasicDiagram zhtw.png - Wikipedia, the free encyclopedia
Thank you so much for help (1 Reply)
Discussion started by: chercheur857
1 Replies
8. Shell Programming and Scripting
hi, i am new to unix,
cuold u send some sftp acripts to send files to dev server to clint server, (1 Reply)
Discussion started by: Koti.annam
1 Replies
9. AIX
Hello, I have an AIX6.1 machine which is a nim client to my nim master which is also AIX6.1 machine. I had some problem to perform an installation on my client using smit nim . i removed /etc/niminfo file in order to do the initialization again but when i run the command niminit -a name=client... (0 Replies)
Discussion started by: omonoiatis9
0 Replies
10. UNIX and Linux Applications
Hello,
just a silly question, do you know some server that can be used for simple calling (soft phone on Android) and messaging between three users? Something like Asterisk but lightweight just for family use I can add to my VPS.
Many thanks,
Stan (0 Replies)
Discussion started by: brusell
0 Replies
rpc(n) Tnm Tcl Extension rpc(n)
__________________________________________________________________________________________________________________________________________________
NAME
rpc - A simple RPC protocol for Tcl applications.
_________________________________________________________________
DESCRIPTION
RPC COMMAND
rpc server port
Set up an RPC server listening an port port. This command returns a rpc handle that be used to register Tcl procs that will be
exported by a trivial RPC protocol on top of TCP. This RPC mechanism allows us to write cooperating scripts without worrying much
about the communication protocol.
rpc client host port
Connect to the RPC server running on host with port port. The returned client handle can be used to invoke an exported proc on the
server host.
rpc delete handle
Delete a server or a client RPC handle. All connections associated with the handle will be closed.
rpc register rpchandle proc
Export proc as an RPC callable proc using the server handle rpchandle. Only registered procs can be called by RPC clients.
rpc unregister rpchandle proc
Remove proc from the list of exported procs on server handle rpchandle.
rpc info [rpchandle]
Calling rpc info without any arguments returns a list of all rpc handles that have been created using the rpc server and rpc client
command. Info about a specific rpc file handle rpchandle is returned by using the optional argument. The result is a list contain-
ing the tcp file handle used for the communication and the list of registered commands for a rpc handle and a list of all files that
represent connections to an rpc server. This list is empty if rpchandle belongs to a rpc client.
rpc# [-async] proc arg1 arg2 ...
To invoke a remote procedure proc, use the same syntax as used with a local invocation preceeded by a client rpchandle. The result
of the remote procedure call will be returned or an error if the underlying communication channel signals errors. The -async options
can be used to invoke proc without waiting for it to complete. The async option will never return a result.
SEE ALSO
scotty(1), Tcl(n)
AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl>
Tnm rpc(n)