[Gambas-devel] socket

Daniel Campos daniel.campos at ...103...
Sat May 14 19:54:46 CEST 2005


It is just glibc, so you should declare:

LIBRARY "libc.6"

in gambas-1.9.8

Regards,

D. Campos



>hi daniel,
>sorry, but i must ask again, i can`t found the lib*.so where all the net
>command`s is in.
>(socket, htons, recvfrom)
>socket and recvfrom i was found in /usr/include/sys/socket.h
>and htons in  /usr/include/netinet/in.h
>
>but where is the *.so ???
>
>frank
>
>
>
>----- Original Message ----- 
>From: "Daniel Campos" <daniel.campos at ...103...>
>To: <gambas-devel at lists.sourceforge.net>
>Sent: Saturday, May 14, 2005 10:59 AM
>Subject: Re: [Gambas-devel] socket
>
>
>Hi Frank:
>
>
>Ah! this is not was you told me in the previous message :-))). You're
>not trying
>to work with datagrams, but with raw network data, that is, you're trying
>to write a kind of "sniffer" in Gambas, reading low level data and
>determining
>what of these frames are ax25 frames. You can not use the gb.net component
>for that, you should use "api calls" instead. You should define all the
>extern
>functions and constants you need (socket, etc...), and probably you'll
>need to
>work with the program as root too, as these kind of operations are not
>allowed
>by the Linux kernel for normal users...
>
>Regards,
>
>D. Campos
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by Oracle Space Sweepstakes
>Want to be the first software developer in space?
>Enter now for the Oracle Space Sweepstakes!
>http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
>_______________________________________________
>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