socket communication uisng .net [modified]
-
Hello every one, I am developing an server side application which can communicate with its client. When server wants to communicate with its client, server will send sms to client to get ip address. After establishing connection between server and client,client will send some log file to server.Server will receive that file and store it into the database. My problem is, how can i achieve this, means on server side there will be a .net application(exe) or there will be web page(asp.net) Please help me on this.
modified on Friday, May 29, 2009 2:29 AM
-
Hello every one, I am developing an server side application which can communicate with its client. When server wants to communicate with its client, server will send sms to client to get ip address. After establishing connection between server and client,client will send some log file to server.Server will receive that file and store it into the database. My problem is, how can i achieve this, means on server side there will be a .net application(exe) or there will be web page(asp.net) Please help me on this.
modified on Friday, May 29, 2009 2:29 AM
Hi yrishi You need to change your approach in this scenario prepare a server desktop application(.exe) which will listen on particular port prepare a client application which establish connection with server. Once the connection is made then you can transfer the file or other object you want
-
Hi yrishi You need to change your approach in this scenario prepare a server desktop application(.exe) which will listen on particular port prepare a client application which establish connection with server. Once the connection is made then you can transfer the file or other object you want
really thanks for your reply, actually my confusion is how to access .exe from multiple location as i am having more than one user to access that .exe application If i go through web application, then user can access it from anywhere. so which is better choice?
-
Hello every one, I am developing an server side application which can communicate with its client. When server wants to communicate with its client, server will send sms to client to get ip address. After establishing connection between server and client,client will send some log file to server.Server will receive that file and store it into the database. My problem is, how can i achieve this, means on server side there will be a .net application(exe) or there will be web page(asp.net) Please help me on this.
modified on Friday, May 29, 2009 2:29 AM
-
Use .Net remoting. If your clients are distributed across network within the verges of firewall, you can build a server program on a specified port. You can build client program which is expecting service from the same port on a server IP. :)
-
-
Sorry abt the late reply and you can establish socket connection from asp.net. Google it you will be getting more articles.