my dear you want to recive sms through internet so u can use some protocoles like http,shttp,or smpp in http you can connect to the smsc (mobile company)and they send to u they message in query string and from your side you can catch them by httplistner and her is some code to help u using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Net; /// /// Summary description for HttpServer /// public class HttpServer { /* HttpListener This class cannot be inherited. Note: This class is new in the .NET Framework version 2.0. we can find it in Namespace: System.Net An HttpListener can require client authentication. You can either specify a particular scheme to use for authentication or you can specify a delegate that determines the scheme to use. You must require some form of authentication to obtain information about the client's identity. */ private HttpListener Listener; public HttpServer() { // Define Listner in constractor to give it the default value Listener = new HttpListener(); // Prefixes take the host which handling all requests or the target machine which recive all requests // prefix take string including url,ip,*,+ and port no.and it must closed with / as u see in the code Listener.Prefixes.Add("http://127.0.0.1:9400/"); // opening the listener to begin listen Listener.Start(); /* * senario "synchronous model" * ---------*********--------- The synchronous model is appropriate if your application should block while waiting for a client request and if you want to process only one request at a time. Using the synchronous model call the ***GetContext method*** which waits for a client to send a request. The method returns an HttpListenerContext object to you for processing when one occurs. ---------C0de...... *wait for incoming request and returns when one is recived Listener.GetContext(); HttpListenerContext context = Listener.GetContext(); HttpListenerRequest request = context.Request; // Obtain a response object. HttpListenerResponse response = context.Response; // Construct a response. string responseString = " Hello world!"; byte[] buffer = Syst