[Gambas-devel] socket
Frank Berg
frankberg at ...136...
Sat May 14 06:48:49 CEST 2005
hi daniel,
i was try in the last month to listen (monitoring) the ax25 network frames,
in the listen.c example i must use the socket command
int fd
fd=socket(AF_PACKET, SOCK_PACKET,htons(ETH_P_ALL))
in the example after this the command recvfrom(fd,...) is used to poll the
buffer
you was write me back i must use the udpSocket class, but there is no ip or
port i can open and bind the class.
please tell me, how this socket line / polling line is to make in gambas.
and my next question is: i think it is not very good to use polling mode.
but what can i do else
frank
----- Original Message -----
From: "Daniel Campos" <daniel.campos at ...103...>
To: <gambas-devel at lists.sourceforge.net>
Sent: Saturday, December 18, 2004 10:44 AM
Subject: Re: [Gambas-devel] socket
> If you want to use datagrams, you have to use the UdpSocket class.
>
> Regards,
>
> D. Campos
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
More information about the Devel
mailing list