[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Socket comunication.
[Thread Prev] | [Thread Next]
- Subject: Re: Socket comunication.
- From: T Lee Davidson <t.lee.davidson@xxxxxxxxx>
- Date: Mon, 10 Feb 2025 11:53:23 -0500
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 2/10/25 11:23 AM, gaucho wrote:
Hi everyone, I would like to communicate two programs. One is a web application with webforms and the other is a terminal program that “talks” to a database. I am trying the example but they are not working, maybe they are outdated or maybe I am doing something wrong. Could someone send me an example of 2 programs communicating via socket? I took the sample from here: https://gambaswiki.org/wiki/doc/network Errors: Static Server As ClsServer (unknown identifier) in server program I check the follow components: Component=gb.image Component=gb.gui Component=gb.form Component=gb.net Component=gb.net.curl Component=gb.util.web Component=gb.web Component=gb.xml Component=gb.xml.rpc Thanks. Martin.
The third step of the server application instructions says, "Add a new class called "ClsServer"." Did you do that? Also, the full code listing for the server application has the following line as the first line of code: STATIC Server AS ClsServer ' not needed in newer Gambas 3 versionsNotice the comment says that line is not needed for newer versions of Gambas 3. So, try removing it. (I have not yet tested the full code to see if that works.)
-- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
Re: Socket comunication. | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
Socket comunication. | gaucho <64xcode@xxxxxxxxx> |