Sponsored Content
Top Forums Programming C++/Java full-duplex communication Post 302385677 by demerzel3 on Saturday 9th of January 2010 05:06:50 AM
Old 01-09-2010
Question C++/Java full-duplex communication

Hello,
here's my situation: I have a C++ server running on a well known machine and a number of Java clients running on other machines (assumed as unknown) on the same LAN. What I want to achieve is full duplex communication between those applications, in order to exchange complex objects and data (the client initiates communication and then the server can communicate freely by sending messages asynchronously without the need for other requests from the client). I would like to use some standard, widely used protocol instead of simple sockets, so as to promote easy extendability of the system (the first version will have only a server and a client, but subsequent versions could include other components as well, mainly in Java, but could be any language).
I've googled a little but found nothing that fits, I was interested by SOAP and similar protocols, but it seems to me that it is only one-way. I've also seen that someone (eg. Silverlight) is achieving full-duplex for SOAP by implementing a polling mechanism but I don't like this approach.
What should I use?

Thanks a lot,
Gabriele Genta
 

10 More Discussions You Might Find Interesting

1. IP Networking

Problems switching to Full Duplex

We run Compaq UNIX Tru64 5.1. After a switch got replaced our ethernet-card was magically set to half duplex! We saw, that the card was set to Autonegotiate: vmunix: ee1: Autonegotiated, 100 Mbps full duplex So we set the card with ifconfig to 100 Mbps full duplex with the following... (3 Replies)
Discussion started by: arn_ch
3 Replies

2. UNIX for Dummies Questions & Answers

Full duplex at HUB?

Ok at the moment I have a hub whit 5 computers connected to it. It's a 10/100 NetGear hub. Ok I heard that there is some command I can run or a file I edit or something like that. But what the command/file/script/whatever does is tells you what connect speed it's connecting to the hub to. ... (4 Replies)
Discussion started by: merlin
4 Replies

3. UNIX for Dummies Questions & Answers

Full Duplex Howto

Dear Members, I was reading a few posts and saw something about installing two Nics so one could use Full Duplex. I remember back in the day of dial up, you could have two modems and use one for upstream and one for downstream. This was called shotgunning. It seems that you can now do the same... (4 Replies)
Discussion started by: Phobos
4 Replies

4. Programming

full -duplex ?

what is meant by full duplex and half duplex? b'coz in differences b\w hub and switch ,i heard lot this duplex word so please help me (1 Reply)
Discussion started by: parvathy
1 Replies

5. Solaris

100 gigabit full duplex

How can I tell on Solaris 9 sparc if my nics are running 100 gigabit full duplex... (4 Replies)
Discussion started by: csaunders
4 Replies

6. Red Hat

RedHat 9 Force full duplex

All, I have a RedHat 9 box which I need to figure out how to get it to stay in full duplex mode after a reboot. I have tried ethtool -s eth0 speed 100 duplex full autoneg off I have tried to add a line to the /etc/sysconfig/network-scripts/ifcfg-eth0 like this: ETHTOOL_OPTS="speed... (4 Replies)
Discussion started by: bubba112557
4 Replies

7. Solaris

How to force a full duplex

I need to change some Ip addresses for my servers to reflect in the NIS map. I also need to force full duplex on the 10/100 cards & 1/2 duplex in the 10 cards. I can change the IP by doing ifconfig <NIC card > plumb up <newip>. Not quite sure on how to force the full / half duplex & how to... (2 Replies)
Discussion started by: Remi
2 Replies

8. SuSE

configure full duplex

How do I configure full duplex on suse 8.2 I tried ethtool -s eth0 speed 100 duplex full autoneg off the above works but when I reboot the machine the configure was lost. How do I configure full duplex so that when the machine get rebooted the configuration will stay. My interface... (4 Replies)
Discussion started by: hassan2
4 Replies

9. UNIX for Advanced & Expert Users

How to set full duplex for solaris 5.5

I would like to change half duplex to full duplex on solaris 5.5. I tried with below commands but they didnt work on solaris 5.5. #ndd -set /dev/le adv_100fdx_cap 1 (6 Replies)
Discussion started by: csreenivas
6 Replies

10. Solaris

How to find half duplex or full duplex

Hi, How to find whether the server is running with half duplex or full duplex. I tried with the following command ndd -get /dev/ but am not getting any output,. Is the command correct? Also let me know how to change from half to full duplex. (1 Reply)
Discussion started by: rogerben
1 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)
All times are GMT -4. The time now is 06:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy