[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 12:27:58 -0500
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 2/10/25 11:53 AM, T Lee Davidson wrote:
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.)
After taking a closer look at that tutorial, I have to say that you should not use it. It is indeed outdated, confusing, and does not work.
Perhaps the link Gianluigi posted may help you.There are also a couple of examples on the Gambas Software Farm: ServerSocket and ClientSocket. You can find them quickly by clicking "Examples", then enable "Show filters", and add "socket" as a filter. (ClientSocket appears to be non-working, and I have not yet diagnosed why. But, they should get you started with the concepts.)
-- 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. | gaucho <64xcode@xxxxxxxxx> |
Re: Socket comunication. | gaucho <64xcode@xxxxxxxxx> |
Socket comunication. | gaucho <64xcode@xxxxxxxxx> |
Re: Socket comunication. | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |