You Are Here:

Open C: IRC Example

Register Today

Register with Forum Nokia now and you'll enjoy the full benefits of the Forum Nokia membership.

Register Login
Community Highlights

Wiki article of the week

Zoom and Rotate Gestures in FlashLite for touch-enabled devices

Champion of the month

Jackson Feijó Jackson Feijó
Read more about Jackson on the Champions website.


Forum Nokia Events

Nokia Developer Days in South Africa
December 01, 2009
Johannesburg, South Africa

Forum Nokia Developer Conference ’09, India
December 07, 2009
Bangalore, India

LeWeb
December 09, 2009
Paris

Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9am New York | 2pm London | 4pm Helsinki

Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9:30am New Delhi, noon Beijing


View all
description: Examine this code example to learn how to use an open source IRC library and Open C to create a functional IRC client application. The example contains a simple open source C library CIRC for communicating with IRC servers that is ported to Symbian OS using Open C and called from a GUI that is implemented using Symbian C++. The use case of the example is to communicate with other IRC users on the chosen IRC server. This example also supports sending "raw" IRC commands and is therefore a fully functional client application. A document about porting experiences and example architecture is also included in the package. Important libraries/structs/functions: libc, sockaddr_in, socket, gethostbyname, connect, nonblocking.
type: Example
topics: Networking
Open C/C++
S60
Symbian C++
intended audience: Advanced

http://sw.nokia.com/FN-1/Type/Example Open C: IRC Example

Examine this code example to learn how to use an open source IRC library and Open C to create a functional IRC client application. The example contains a simple open source C library CIRC for communicating with IRC servers that is ported to Symbian OS using Open C and called from a GUI that is implemented using Symbian C++. The use case of the example is to communicate with other IRC users on the chosen IRC server. This example also supports sending "raw" IRC commands and is therefore a fully functional client application. A document about porting experiences and example architecture is also included in the package. Important libraries/structs/functions: libc, sockaddr_in, socket, gethostbyname, connect, nonblocking.

20-Dec-2007


Download



Additional information

distribution: Forum Nokia Global Web Site
publication rights: Copyright © 2007 Nokia Corporation.

<< Back to Previous Page

 

Rate This:

Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
User Rating: qfnZuserE5FratingQNx1E2E0000X
RDF Facets: qdcZdescriptionQSxE45E78amineE20thisE20codeE20eE78ampleE20toE20learnE20howE20toE20useE20anE20openE20sourceE20IE52CE20libraryE20andE20OpenE20CE20toE20createE20aE20functionalE20IE52CE20clientE20applicationE2eE20TheE20eE78ampleE20containsE20aE20simpleE20openE20sourceE20CE20libraryE20CIE52CE20forE20communicatingE20withE20IE52CE20serversE20thatE20isE20portedE20toE20SymbianE20OSE20usingE20OpenE20CE20andE20calledE20fromE20aE20GUIE20thatE20isE20implementedE20usingE20SymbianE20CE2bE2bE2eE20TheE20useE20caseE20ofE20theE20eE78ampleE20isE20toE20communicateE20withE20otherE20IE52CE20usersE20onE20theE20chosenE20IE52CE20serverE2eE20ThisE20eE78ampleE20alsoE20supportsE20sendingE20E22rawE22E20IE52CE20commandsE20andE20isE20thereforeE20aE20fullyE20functionalE20clientE20applicationE2eE20AE20documentE20aboutE20portingE20eE78periencesE20andE20eE78ampleE20architectureE20isE20alsoE20includedE20inE20theE20packageE2eE20ImportantE20librariesE2fstructsE2ffunctionsE3aE20libcE2cE20sockaddrE5finE2cE20socketE2cE20gethostbynameE2cE20connectE2cE20nonblockingE2eX qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fc5379caaE2d01eaE2d46abE2d9e8bE2d5a4d4c513a0bE2fOpenE5fCE5fIE52CE5fE45E78ampleX qdcZtitleQSxOpenE20CE3aE20IE52CE20E45E78ampleX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfnZE45E78cludedFromSearchQ qdcZtypeQUqfnZPrimaryE52esourceQ qdcZtypeQUqfntypeZApplicationQ qdcZtypeQUqfntypeZE45E78ampleQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqmarsZMediaObjectQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qrssZdescriptionQSxE45E78amineE20thisE20codeE20eE78ampleE20toE20learnE20howE20toE20useE20anE20openE20sourceE20IE52CE20libraryE20andE20OpenE20CE20toE20createE20aE20functionalE20IE52CE20clientE20applicationE2eE20TheE20eE78ampleE20containsE20aE20simpleE20openE20sourceE20CE20libraryE20CIE52CE20forE20communicatingE20withE20IE52CE20serversE20thatE20isE20portedE20toE20SymbianE20OSE20usingE20OpenE20CE20andE20calledE20fromE20aE20GUIE20thatE20isE20implementedE20usingE20SymbianE20CE2bE2bE2eE20TheE20useE20caseE20ofE20theE20eE78ampleE20isE20toE20communicateE20withE20otherE20IE52CE20usersE20onE20theE20chosenE20IE52CE20serverE2eE20ThisE20eE78ampleE20alsoE20supportsE20sendingE20E22rawE22E20IE52CE20commandsE20andE20isE20thereforeE20aE20fullyE20functionalE20clientE20applicationE2eE20AE20documentE20aboutE20portingE20eE78periencesE20andE20eE78ampleE20architectureE20isE20alsoE20includedE20inE20theE20packageE2eE20ImportantE20librariesE2fstructsE2ffunctionsE3aE20libcE2cE20sockaddrE5finE2cE20socketE2cE20gethostbynameE2cE20connectE2cE20nonblockingE2eX qrssZtitleQSxOpenE20CE3aE20IE52CE20E45E78ampleX qeditorZdescriptionE5fcreatedQDx2007E2d10E2d11T08E3a34E3a52E5aX qeditorZdescriptionE5fmodifiedQDx2007E2d12E2d19T10E3a09E3a19E5aX qeditorZtypeQUqfntypeZApplicationQ qeditorZtypeQUqfntypeZE45E78ampleQ qeditorZtypeQUqfntypeZE52esourceQ qfnZaudienceQUqfnAudienceZadvancedQRqmarsZrelevanceQNx100X qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX qfnZpublishedQDx2007E2d12E2d20T00E3a00E3a00E5aX qfnZtopicQUqfnTopicZcppQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZnetworkingQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZopenE5fcQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60QRqmarsZrelevanceQNx100X qfnZtypeQUqfntypeZApplicationQ qfnZtypeQUqfntypeZE45E78ampleQ qfnZtypeQUqfntypeZE52esourceQ qmarsZdescriptionQSxE45E78amineE20thisE20codeE20eE78ampleE20toE20learnE20howE20toE20useE20anE20openE20sourceE20IE52CE20libraryE20andE20OpenE20CE20toE20createE20aE20functionalE20IE52CE20clientE20applicationE2eE20TheE20eE78ampleE20containsE20aE20simpleE20openE20sourceE20CE20libraryE20CIE52CE20forE20communicatingE20withE20IE52CE20serversE20thatE20isE20portedE20toE20SymbianE20OSE20usingE20OpenE20CE20andE20calledE20fromE20aE20GUIE20thatE20isE20implementedE20usingE20SymbianE20CE2bE2bE2eE20TheE20useE20caseE20ofE20theE20eE78ampleE20isE20toE20communicateE20withE20otherE20IE52CE20usersE20onE20theE20chosenE20IE52CE20serverE2eE20ThisE20eE78ampleE20alsoE20supportsE20sendingE20E22rawE22E20IE52CE20commandsE20andE20isE20thereforeE20aE20fullyE20functionalE20clientE20applicationE2eE20AE20documentE20aboutE20portingE20eE78periencesE20andE20eE78ampleE20architectureE20isE20alsoE20includedE20inE20theE20packageE2eE20ImportantE20librariesE2fstructsE2ffunctionsE3aE20libcE2cE20sockaddrE5finE2cE20socketE2cE20gethostbynameE2cE20connectE2cE20nonblockingE2eX qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fe767bbeaE2da086E2d47eaE2d9966E2d597cd7edc041E2fOpenE5fCE5fIE52CE5fE45E78ampleE5fv1E5f0E5fenE2ezipX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qmarsZtitleQSxOpenE20CE3aE20IE52CE20E45E78ampleX qncZrightsQSxCopyrightE20Ea9E202007E20NokiaE20CorporationE2eX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfnZE45E78cludedFromSearchQ qrdfZtypeQUqfnZPrimaryE52esourceQ qrdfZtypeQUqfntypeZApplicationQ qrdfZtypeQUqfntypeZE45E78ampleQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqmarsZMediaObjectQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ