No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
i have a serial communication process (windows service type prgrm), and a server client program. how can the server be integrated inside the windows service type process i.e., whenever i start the serial process the server program should also run. please do leave me with solution,suggestions,advise or the code it …
using System; using System.Threading; using System.Net.Sockets; using System.Text; namespace ConsoleApplication1 { class Server { static void Main(string[] args) { TcpListener serverSocket = new TcpListener(8889); TcpClient clientSocket = default(TcpClient); int counter = 0; serverSocket.Start(); Console.WriteLine(" >> " + "Server Started"); counter = 0; while (true) { counter += 1; clientSocket = …
The End.
srirambs7