[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ICMP socket with Gambas
[Thread Prev] | [Thread Next]
- Subject: Re: ICMP socket with Gambas
- From: Lee <t.lee.davidson@xxxxxxxxx>
- Date: Sat, 28 Jun 2025 23:46:35 -0400
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On 6/28/25 1:10 PM, Claus Dietrich wrote:
Am 28.06.25 um 16:26 schrieb vuott@xxxxxxxxxxxx:Uhmmm... sorry, correct structure is: Public Struct SockAddr SinFamily As SHORT SinPort As SHORT SinAddr As Pointer End Struct (with SHORT, not Integer)This program provides following console output on my Mint 22 platform: "Socket call error: 13" Best regards Claus
I admit the error reporting in the program could stand to be more informative.An error code of 13 means "Permission denied". As I understand it, that shouldn't happen when creating a socket of type "SOCK_DGRAM".
-- Lee --- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ---- --- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----
Re: ICMP socket with Gambas | Lee <t.lee.davidson@xxxxxxxxx> |
Re: ICMP socket with Gambas | Linus <olivier.cruilles@xxxxxxxx> |
Re: ICMP socket with Gambas | Lee <t.lee.davidson@xxxxxxxxx> |
Re: ICMP socket with Gambas | vuott@xxxxxxxxxxxx |
Re: ICMP socket with Gambas | Claus Dietrich <claus.dietrich@xxxxxxxxxx> |