[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ICMP socket with Gambas - working
[Thread Prev] | [Thread Next]
- Subject: Re: ICMP socket with Gambas - working
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jun 2025 10:41:14 +0200
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Le 30/06/2025 à 10:22, Benoît Minisini a écrit :
It's because you used "Long" for SinAddr, whereas it must be "Integer". "Long" in Gambas is a 64-bit integer.[...]
For information, to know exactly how a C structure is declared, for example the 'struct sockaddr_in' that represents an IPV4 address, you have to do that:
$ echo "#include <netinet/in.h>" | gcc -E -And you must find and analyze all that stuff to get how 'struct sockaddr_in' is declared.
Regards, -- Benoît Minisini.
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 | Lee <t.lee.davidson@xxxxxxxxx> |
Re: ICMP socket with Gambas | vuott@xxxxxxxxxxxx |
Re: ICMP socket with Gambas - working | Lee <t.lee.davidson@xxxxxxxxx> |
Re: ICMP socket with Gambas - working | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |