Re: Socket Programming on Maemo

2008-12-17 Thread Shengye Lu
If you prefer to use higher level API and GLib, GNet is a candidate.
But you have to install GNet library on Maemo yourself, since GNet is
not shipped with Maemo by default.



-- 
Shengye
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Socket Programming on Maemo

2008-12-16 Thread Sarah Newman
libc6 is your socket provider.

http://www.gnu.org/software/libc/manual/html_node/Sockets.html

Maemo is linux under the hood no matter what the gui is or the weirdness 
of some of the embedded stuff like busybox.  Sockets are used like they 
are on any other linux platform, or else you couldn't compile  run 
standard programs without modification. netcat is one such example.

https://garage.maemo.org/viewvc/trunk/packages/netcat.xml/?revision=135root=mud-builder

As far as learning how to use sockets, that depends on your language. 
If you don't know any well supported on maemo I suggest trying python.

Frank Banul wrote:
 I would look at source for existing projects for examples. Check out
 curl for getting data from a web page. Standard socket calls are
 available, I'm not sure which library provides them though.
 
 Frank
 
 On Tue, Dec 16, 2008 at 3:30 PM, Merrick Fonnesbeck
 mfonnesb...@sorenson.com wrote:
 Hey guys, how is socket programming done on the N800 / N810?  What libraries
 do you use and how is it done?  Is there any examples somewhere that I can
 learn from or a how-to article that any one knows of?  I'd like to open an
 outside connection to another computer and communicate with it using sockets
 and also open a web page using sockets through a maemo application and
 download information from that page.  Thanks for any help.

 Merrick

 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers


 ___
 maemo-developers mailing list
 maemo-developers@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-developers
 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Socket Programming on Maemo

2008-12-16 Thread Dirk-Jan.Binnema
When talking about 'sockets', I assume you want to program in C/C++;
as a quick tutoria, Beej's Guide to Network Programming can be helpful: 
http://beej.us/guide/bgnet/ 

--Dirk.




From: maemo-developers-boun...@maemo.org
[mailto:maemo-developers-boun...@maemo.org] On Behalf Of ext Merrick
Fonnesbeck
Sent: Tuesday, December 16, 2008 23:31
To: maemo-developers@maemo.org
Subject: Socket Programming on Maemo



Hey guys, how is socket programming done on the N800 / N810?
What libraries do you use and how is it done?  Is there any examples
somewhere that I can learn from or a how-to article that any one knows
of?  I'd like to open an outside connection to another computer and
communicate with it using sockets and also open a web page using sockets
through a maemo application and download information from that page.
Thanks for any help.

Merrick 


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers