server and web pages

admin

Administrator
Staff member
hi every one..
can i connect a server made with windows application in .net to the internet without making a web page or use asp...and how..
thxyes, what is it you want to do exactly?thx. for replying..

i want to build a server and connect it to the internet.. it must recieve row data sent from an application on a mobile phone so it must lsn to a port.. technically i'm not sure how to build this server and speciphcally how to build a virtual port and does it need to be virtual or shull it listen to port 80.. and i want to accept this data as a string..

thank you very much..How would the phone send the data? Would this be some form of web form that the phone would send through it's mobile browser? Is this an existing protocol? What you are proposing will be possible, you can make any kind of server you want with .net, but it could get very complicated depending on what it does. If you are making your own protocol and all expect to do a tid bit of work.

Also, you said you do not know how to build the server, are we talking about the box or just the server application? Because building a webserver (the box) is very easy to do, I mean it is just a computer on a porperly configured network with one open port and a server app running on itObviously you are trying to build a client/server application and you don't want it to be asp based.

I think that you are aiming towards socket programming. With sockets you can specify a port to listen on and handle raw data. A quick google gave me this article, it should be enough to get you going: <!-- m --><a class="postlink" href="http://www.ondotnet.com/pub/a/dotnet/2002/10/21/sockets.htm">http://www.ondotnet.com/pub/a/dotnet/20 ... ockets.htm</a><!-- m -->

You might also look into using web services. You may think that Web services can only be used with the http protocol and require a web server. But that is not the case, web services can actually utilize a number of other protocols and of particular interest to you would be transactions over TCP/IP.Originally posted by Cstick
Obviously you are trying to build a client/server application and you don't want it to be asp based. Yep, but it still belongs in this forum since this encompases the whole .net studio when used with the internet. This is of course going to be using the system.net.sockets namespace.thx.. i loved the sockets idea.. and the article was helpfull although i still need to search to get things right.. :)

and for the Qs... the mobile will connect to the server through GPRS by an application (browser) which i'm going to build with .net too.. so i think i'm gonna use the sockets on both sides..

but still there is a question.. i wanna let the socket on the mobile send to my server on the internet.. so shull it send the raw data on a virtual port or port 80? what is better? and how can i build a virtual port with .net?

another question for the stick master.. i didn't get what you mean about the web services..

thxxxxx... :)This puts what a webservice into words better than I could <!-- m --><a class="postlink" href="http://www.webopedia.com/TERM/W/Web_Services.html">http://www.webopedia.com/TERM/W/Web_Services.html</a><!-- m -->
 
Back
Top