what is p2p network?
codeuu
Printable View
what is p2p network?
codeuu
Or for short client - client WinSock program.
Basically you either have apps -
- Server to client(server app) = Server version of a application
- Client to server(Client app) = Client version of a application
- Client to client(app) = Can't think of a description(an example app is LimeWire)...
I think I may be wrong somewhere so anyone else is welcome to correct me :p
Basically correct, but P2P can also be Server<->Server.
It is basically any communication where there is no (significant) difference in the level of control between the two applications/systems.
For example, in a Client/Server situation:
1) the Client always initiates contact.
2) the Server usually handles many clients
etc...
The "p" in "p2p" stands for "peer". The architecture is therefore a peer-to-peer architecture, as opposed to a client/server architecture. One example of client/server is the relationship between an ordinary web browser (which is the client) and a web server to which the browser connects. Examples of p2p are all the file-sharing programs like bittorrent etc, in which each program is exactly like all others, such that each is a peer to all others and neither partner is a client or a server.
Mike
Hi mike,
I got a question for you. I run a gaming zone and I've 2 branches of it. I've developed a socket server-client program to monitor the customers' login timing and accounting. In both the branches I've internet from same ISP and I get one static IP from ISP in each branch, which I share on internal LAN through router. My software runs locally that means in each branch of my gaming zone I've a server. Now I want this to be monitored centrally that means single server and single database managing all client PCs in all branches.
How do I do this? (The problem is I think the router's NAT layer.) ( also I dont want to use HAMACHI)
I don't have an answer for you, sorry.
I suggest that you start a new topic, and post the question there. Your question is unrelated to the OP's question, and therefore it probably would not attract much traffic and might never be answered here. Start a new topic, maybe in the gaming section.
Mike