Re: Connect Windows Forms GUI to a C code which is serving as a back end



Do you mean you're using TCP/IP to literally communicate between two components on the same computer or is there a chance that the GUI and C code are going to be on different computers? Is there a reason for the TCP/IP connection?

It sounds like a C++/CLI project is what you need to perform the bridging, if you do actually need the TCP/IP connection then there are plenty of networking classes in the System.Net namespace (and System.Net.Sockets) that will make your life a lot easier.

A bit more detail about what you're trying to achieve would be useful!
Regards,
Anthony

"moni" <mons.2110@xxxxxxxxx> wrote in message news:1164058153.636659.322630@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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.


.



Relevant Pages

  • Re: why not enough lisp libraries?
    ... > layers, such as uffi, to call functions writtend in other ... Ok, Perl has TCP/IP ... Using FFI to access OpenGL does work, ... As for GUI, I am not too displeased with the code I have to access ...
    (comp.lang.lisp)
  • Checking TCP/IP connection when using GUIs
    ... I am currently programming a GUI to communicate with a remote host via TCP/IP. ... fprintf and fscan functions to do so on a TCP/IP object I have created. ... and will this lock my entire GUI so that I cannot execute any other callbacks or can I somehow still execute my callbacks? ...
    (comp.soft-sys.matlab)
  • Connect C code to ASP.net
    ... 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 ...
    (comp.lang.c)
  • Connect Windows Forms GUI to a C code which is serving as a back end
    ... 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 ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Checking TCP/IP connection when using GUIs
    ... I am currently programming a GUI to communicate with a remote host via ... fprintf and fscan functions to do so on a TCP/IP ... My server/remote host is able to send out a signal when my client (GUI) is ... connected, to tell that the connection is alive e.g. "Your are connected", ...
    (comp.soft-sys.matlab)