[maemo-developers] [maemo-developers] UDP and souce code
From: Kate Alhola kate.alhola at nokia.comDate: Mon Feb 12 12:08:52 EET 2007
- Previous message: [maemo-developers] UDP and souce code
- Next message: [maemo-developers] armel minimal rootstrap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ext J HU wrote: > Ok, thanks. > If they work in the same way I know how to use them, but I was also > interested for example if the "recvfrom" function in the Nokia , works > in the same way that the "recvfrom" in a generic Debian... I mean, if > there are any kind of optimization or something like that or simply in > both cases they use the same libraries. > If anyone knows.. please tell me something :) The Linux in 770/N800 ihas exactly same API than desktop, so there is no difference in UDP / socket interface at all. Remember just that if you plan to use maemo/GTK anfdu UDP you need to use something like to gdk_input_add to register your callback function to handle socket. If you do like to see example, just look main.c in katix_efis source code in garage.maemo.org Kate > > Thanks again > > > >> From: andrew gatt <a.gatt at btinternet.com> >> To: "Javi H.U." <judowold at hotmail.com> >> CC: maemo-developers at maemo.org >> Subject: Re: [maemo-developers] UDP and souce code >> Date: Sat, 10 Feb 2007 20:58:23 +0000 >> >> I've been using UDP sockets to broadcast and receive packets. As far >> as i've used them they are exactly the same as the desktop version. >> I'd have been surprised if they were any different. General Linux UDP >> programming tutorials will be a good start. >> >> Andrew >> >> Javi H.U. wrote: >>> Hi! >>> >>> I have just started to programs things for the NOKIA 770 and I am >>> working on transport layer using UDP sockets but well before to do >>> anything with it I have some questions like if the UDP in the Nokia >>> 770 is the same than the UDP of a normal Debian or it is adapted >>> for the PDA. Also I'd like to get the source code of the UDP to take >>> a look and know exactly how it works. >>> >>> If anyone has any experiences in the UDP, sockets in the Nokia 770 >>> or know where I could found the source code,... please could me >>> anything!?? >>> >>> Thanks in advance >>> >>> HUJ >>> >>> _________________________________________________________________ >>> ¿Estás pensando en cambiar de coche? Todas los modelos de serie y >>> extras en MSN Motor. http://motor.msn.es/researchcentre/ >>> >>> _______________________________________________ >>> maemo-developers mailing list >>> maemo-developers at maemo.org >>> https://maemo.org/mailman/listinfo/maemo-developers >>> > > _________________________________________________________________ > Dale rienda suelta a tu tiempo libre. Mil ideas para exprimir tu ocio > con MSN Entretenimiento. http://entretenimiento.msn.es/ > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers >
- Previous message: [maemo-developers] UDP and souce code
- Next message: [maemo-developers] armel minimal rootstrap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]