Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2005

Tip: Looking for answers? Try searching our database.

Howto create TCP listener webservice(not using XML/HTTP/SOAP) like Servlet/Tomcat in .NET?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MP - 16 Nov 2005 08:19 GMT
Hi group,

I got a problem, in the past I developed in Java a Servlet that just
waits for a connection and when connected it does some things ;-) Nice
isnt it. The same functionality I want to have in .NET because we are
also using IIS6.0 combined with ASP.NET for the front-end and I want to
keep all development MS related.

I checked out some technologies like DCOM, Webservices etc. Read some
postings here but still havent got a clear view. Webservices are used
with standards like SOAP/HTTP what in my case is all overhead. I want
to use GPRS from client and so want to keep the data as small as
possible. The solution is dedicated.

I prefer to use IIS - if possible - because AFAIK it handles all
threading etc.
Any tips are more then welcome.

Thanks in advance.

MP
Allistar - 16 Nov 2005 09:37 GMT
> Hi group,
>
[quoted text clipped - 17 lines]
>
> MP

You could develop an ISAPI module that listens on a port and processes data
received followed by sending back a response.

Allistar.
MP - 16 Nov 2005 11:09 GMT
Thanks for the reply! I looked at ISAPI, and for me it looks quite
difficult. More advice is welcome ;)

I found an example webserver at MSDN called "Cassini", I think thats a
good direction for me to look at.

Waiting for more replies....
Peter Kelcey - 16 Nov 2005 18:24 GMT
Since you are looking at a %100 Microsoft solution, I suggest looking
at  .NET Remoting. Since its a proprietary solutions, its faster and
more optimized than web services. Also, it will work along with IIS.

Also, don't bother too much with Cassini, its been hard coded to only
accept messages from the local server. It was intended only for
developers who needed to debug stuff locally within having IIS.
Apparently you can override this, but its a bit of a hack and its not
what Cassini was intended for.

Peter Kelcey
MP - 17 Nov 2005 07:02 GMT
Hi Peter,

Many thanks for your answer. In the post I wasnt quite clear, the
server side is full in MS environment but the clients are not MS.
I think I will create a tcp/ip server for communication.

MP

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.