Connect C code to ASP.net

M

moni

Hi,

I was hoping to be able to connect a C code to a .Net application which
is serving as the GUI through TCP/IP.

In this the C code is going to act as a server and the GUI the client
which should be able to send commands and data to the C code which is
alraedy running and then the Executing code should act upon
accordingly.

Would there be any way to do this.

It would be of great help.

Thanks.
 
W

Walter Roberson

moni said:
I was hoping to be able to connect a C code to a .Net application which
is serving as the GUI through TCP/IP.
In this the C code is going to act as a server and the GUI the client
which should be able to send commands and data to the C code which is
alraedy running and then the Executing code should act upon
accordingly.
Would there be any way to do this.

Probably there is, but you need to find out how .NET can handle
inter-process communication, and match those possible methods
up to whatever system-specific extensions that are present on
the systems you need this to be portable to.

There is nothing in the C language -itself- that deals with
(or even acknowledges the existance of) multiple processes
or networking. Everything to do with networking is system
specific and not dealt with here. You can probably find what
you need in some sites that deal with .NET .
 
C

CBFalconer

moni said:
I was hoping to be able to connect a C code to a .Net application
which is serving as the GUI through TCP/IP.

In this the C code is going to act as a server and the GUI the
client which should be able to send commands and data to the C
code which is alraedy running and then the Executing code should
act upon accordingly.

Would there be any way to do this.

Read the following links:

--
Some useful references about C:
<http://www.ungerhu.com/jxh/clc.welcome.txt>
<http://www.eskimo.com/~scs/C-faq/top.html>
<http://benpfaff.org/writings/clc/off-topic.html>
<http://anubis.dkuug.dk/jtc1/sc22/wg14/www/docs/n869/> (C99)
<http://www.dinkumware.com/refxc.html> (C-library}
<http://gcc.gnu.org/onlinedocs/> (GNU docs)
<http://clc-wiki.net> (C-info)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top