Re: How to send the data from 1 process more process using sockets!



Aura Networks wrote:
On Mar 23, 10:59 pm, David Schwartz <dav...@xxxxxxxxxxxxx> wrote:
On Mar 22, 6:18 pm, Aura Networks <lakshmisreekant...@xxxxxxxxx>
wrote:

But, the thing is only recently executed server receiving the data,
not all the running servers....
//Tell me is there any way to send the data to all servers...!! (like
multicast or any technic ).
How to send data .....please tell me!!!!!!!!
First, don't multi-post. If you want post the same question to more
than one group, post it once to all groups.

Second, you really don't tell us what you're doing. Is this TCP? UDP?
Unix domain? When you say "port" are you talking about the port that
receives a packet? The source port of UDP datagrams on the server
side? Or what?

Depending on exactly what you're doing, the best solution is probably
either:

1) Have the clients connect to all servers.

2) Have the servers connect to each other and pass client information
around.

3) Rethink the design

DS
I am working on sockets in Linux (UDP-Sockets).

However, in your OP, you write "All the servers must receive every client message at a time."
This is inconsistent, as UDP is *unreliable*!

--
These are my personal views and not those of Fujitsu Siemens Computers!
Josef Möllers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize (T. Pratchett)
Company Details: http://www.fujitsu-siemens.com/imprint.html
.



Relevant Pages

  • Re: Unable to Connect Multiple VPN Clients via Linksys Router
    ... office's VPN using Cisco VPN Client 4.0.5client software over the ... behavior that when doing NAT on low UDP ports such as UDP port 500, ... they will not NAT the source port. ...
    (comp.dcom.sys.cisco)
  • Re: constant probes on port 25975
    ... Even the size of the applicable RFCs show UDP to be simple, ... port $FOO, then any connection attempt will fail, which is also a "don't ... I highly doubt that their name servers would be sending unsolicited from ... If you then point your windoze boxes ...
    (comp.security.firewalls)
  • Re: UDP or TCP?
    ... each client program connects with separately. ... You can use UDP "broadcast" mode to dispense with the central server ... You pick a port number and then your chat program can ...
    (microsoft.public.vb.syntax)
  • Re: sockets: connecting several UDP clients
    ... I'm quite uncertain if the using of the ports for UDP is correct in my mind. ... the acceptcall will return a new socket descriptor. ... Even if all you are interested in is the IP address of the client, you must take the sd and close it: ... // client on port 6666. ...
    (comp.os.linux.development.apps)
  • RE: DNS Records
    ... tcp>1023 53 Client queries with long replies ... On other client types, ... if you lock down all but port ... a client queries an initial server from an unreserved port number to UDP ...
    (Security-Basics)