rbV5
Lifer
- Dec 10, 2000
- 12,632
- 0
- 0
Originally posted by: Megatomic
IMO, if the client and the server both run on the same machine neither one should need to go through the firewall to talk to the other.
(this is how it was explained to me, hope it makes sense
"To allow interprocess communcations to work each task can send information using a network socket. This is usually just a layer 2 RAW socket and the port number is all that each task needs to know to share infromation. No data is sent over the wire and if you look at the firewall log you will see the source and dest are both localhost.
Socket layer communcations is about the same if not faster than shared memory since the memory has to be translated from one virtual space to another for the task to stay in sync. Semaphores are costly and not required with using open sockets. Linux uses localhost socket layer for interprocess comuncations a great deal."