1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TCP/IP listener in ASP .NET

Discussion in 'ASP.NET' started by jcexited, Sep 2, 2010.

  1. jcexited

    jcexited New Member

    Joined:
    Sep 2, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  2. jcexited

    jcexited New Member

    Joined:
    Sep 2, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Nobody can help me? I'm thinking about developing a Windows service that runs as TCP/IP server (using sockets), but I don't know if there is an easier way with the tools and languages provided by Visual Studio .Net.

    Thanks.
     
  3. alia123

    alia123 New Member

    Joined:
    Jan 8, 2016
    Messages:
    65
    Likes Received:
    3
    Trophy Points:
    0

Share This Page