Click here to Skip to main content
15,902,745 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there any soft ware that allow me to have server and the client on the same machine , and then sending data between each other , PLease answer urgently
Posted
Comments
[no name] 26-Mar-14 12:04pm    
Urgently, yes.
Sergey Alexandrovich Kryukov 26-Mar-14 12:27pm    
Language? platform? Why not writing such software?
—SA

See here: Introduction to TCP client server in C#[^]
TCP/IP doesn't care where the server is, as long as it's accessible to the client. Same machine should be fine.
 
Share this answer
 
v2
There is no much difference if this is the same machine or a different machine, from the standpoint of development. The server side is playing passive role: it is listening for the new connection and, before some application is connected, knows nothing about the clients. The client part needs to know IP address and the port number of the server side. Or, it can be the name resolved through DNS. Additionally, on the same machine, these name could be "localhost". That's all.

Now, usually you need to write such software, or use some more or less universal messaging middleware instead. This is why: there is not "just TCP networking". You always have some application-level protocol which defines the discipline and some requirements for content sent/received through the network stream/channel. Please see:
http://en.wikipedia.org/wiki/Application_layer[^].

Without specifying of the platform, implementation language and maybe some libraries/frameworks to be used, the whole question makes little to no sense.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900