...

View Full Version : TCP/IP listener in ASP .NET



jcexited
09-02-2010, 09:34 AM
I'm trying to develop a web application for a system consisting of several hardware devices, which will connect to a specific IP and port of a server to send some measuring data (plain text). This data will be stored in a SQL Server database in the server. Then, the users will connect to this server using a browser to view the stored data.

I will use ASP .NET (C#) for developing the web application for the users to access the stored data in the database (it's a standard web application with database access to retrieve and show information).

I don't know what is the best way to develop the application that will act as a TCP/IP listener to receive the hardware devices data, since it must run on the same server that stores the SQL Server database.

Could someone give me some advice or suggestion about how to develop the server listener application? I think a web service is not a good solution, because the client (hardware device) won't be able to use this technology (it will send a fixed data buffer after its connection request has been accepted).

Thanks in advance.

accwebworks
09-02-2010, 06:34 PM
complete tcp/ip server written in c#
http://www.codeproject.com/KB/IP/tcpserverall.aspx

jcexited
09-03-2010, 09:32 AM
Thanks for your help.

am000
12-17-2013, 05:56 PM
Hi there,

I have a similar project that I am starting to work on. I'd appreciate if you could guide me as to what is the best way to appoach this problem

Regards.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum