Open C: IRC Example
| 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
|
|
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 | |
Additional information
| distribution: |
Forum Nokia Global Web Site
|
| rights: |
Copyright © 2007 Nokia Corporation.
|
RDF Facets:
qdcZdateQDx2007E2d10E2d11T08E3a34E3a52E5aX
qdcZdateQDx2007E2d12E2d19T10E3a09E3a19E5aX
qdcZdescriptionQSxE45E78amineE20thisE20codeE20eE78ampleE20toE20learnE20howE20toE20useE20anE20openE20sourceE20IE52CE20libraryE20andE20OpenE20CE20toE20createE20aE20functionalE20IE52CE20clientE20applicationE2eE20TheE20eE78ampleE20containsE20aE20simpleE20openE20sourceE20CE20libraryE20CIE52CE20forE20communicatingE20withE20IE52CE20serversE20thatE20isE20portedE20toE20SymbianE20OSE20usingE20OpenE20CE20andE20calledE20fromE20aE20GUIE20thatE20isE20implementedE20usingE20SymbianE20CE2bE2bE2eE20TheE20useE20caseE20ofE20theE20eE78ampleE20isE20toE20communicateE20withE20otherE20IE52CE20usersE20onE20theE20chosenE20IE52CE20serverE2eE20ThisE20eE78ampleE20alsoE20supportsE20sendingE20E22rawE22E20IE52CE20commandsE20andE20isE20thereforeE20aE20fullyE20functionalE20clientE20applicationE2eE20AE20documentE20aboutE20portingE20eE78periencesE20andE20eE78ampleE20architectureE20isE20alsoE20includedE20inE20theE20packageE2eE20ImportantE20librariesE2fstructsE2ffunctionsE3aE20libcE2cE20sockaddrE5finE2cE20socketE2cE20gethostbynameE2cE20connectE2cE20nonblockingE2eX
qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fc5379caaE2d01eaE2d46abE2d9e8bE2d5a4d4c513a0bE2fOpenE5fCE5fIE52CE5fE45E78ampleX
qdcZtitleQSxOpenE20CE3aE20IE52CE20E45E78ampleX
qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ
qdcZtypeQUqfnZE45E78cludedFromSearchQ
qdcZtypeQUqfnTypeZApplicationQ
qdcZtypeQUqfnTypeZE45E78ampleQ
qdcZtypeQUqfnTypeZE52esourceQ
qdcZtypeQUqmarsZManagedE52esourceQ
qdcZtypeQUqmarsZMediaObjectQ
qdcZtypeQUqwebZInformationE52esourceQ
qdcZtypeQUqwebZE52esourceQ
qdcZtypeQUqrdfsZE52esourceQ
qdctermsZissuedQDx2007E2d10E2d11T08E3a34E3a52E5aX
qdctermsZmodifiedQDx2007E2d12E2d19T10E3a09E3a19E5aX
qrssZdescriptionQSxE45E78amineE20thisE20codeE20eE78ampleE20toE20learnE20howE20toE20useE20anE20openE20sourceE20IE52CE20libraryE20andE20OpenE20CE20toE20createE20aE20functionalE20IE52CE20clientE20applicationE2eE20TheE20eE78ampleE20containsE20aE20simpleE20openE20sourceE20CE20libraryE20CIE52CE20forE20communicatingE20withE20IE52CE20serversE20thatE20isE20portedE20toE20SymbianE20OSE20usingE20OpenE20CE20andE20calledE20fromE20aE20GUIE20thatE20isE20implementedE20usingE20SymbianE20CE2bE2bE2eE20TheE20useE20caseE20ofE20theE20eE78ampleE20isE20toE20communicateE20withE20otherE20IE52CE20usersE20onE20theE20chosenE20IE52CE20serverE2eE20ThisE20eE78ampleE20alsoE20supportsE20sendingE20E22rawE22E20IE52CE20commandsE20andE20isE20thereforeE20aE20fullyE20functionalE20clientE20applicationE2eE20AE20documentE20aboutE20portingE20eE78periencesE20andE20eE78ampleE20architectureE20isE20alsoE20includedE20inE20theE20packageE2eE20ImportantE20librariesE2fstructsE2ffunctionsE3aE20libcE2cE20sockaddrE5finE2cE20socketE2cE20gethostbynameE2cE20connectE2cE20nonblockingE2eX
qrssZtitleQSxOpenE20CE3aE20IE52CE20E45E78ampleX
qeditorZdescriptionE5fcreatedQDx2007E2d10E2d11T08E3a34E3a52E5aX
qeditorZdescriptionE5fmodifiedQDx2007E2d12E2d19T10E3a09E3a19E5aX
qeditorZtypeQUqfnTypeZApplicationQ
qeditorZtypeQUqfnTypeZE45E78ampleQ
qeditorZtypeQUqfnTypeZE52esourceQ
qfnZaudienceQUqfnAudienceZadvancedQRqmarsZrelevanceQNx100X
qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X
qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX
qfnZpublishedQDx2007E2d12E2d20T00E3a00E3a00E5aX
qfnZtopicQUqfnTopicZcppQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZnetworkingQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZopenE5fcQRqmarsZrelevanceQNx100X
qfnZtopicQUqfnTopicZseriesE5f60QRqmarsZrelevanceQNx100X
qfnZtypeQUqfnTypeZApplicationQ
qfnZtypeQUqfnTypeZE45E78ampleQ
qfnZtypeQUqfnTypeZE52esourceQ
qfnZuserE5ftagQSxnetworkingX
qfnZuserE5ftagQSxopenE2dcE2fcE2bE2bX
qfnZuserE5ftagQSxs60X
qfnZuserE5ftagQSxsymbianE2dcE2bE2bX
qmarsZdescriptionQSxE45E78amineE20thisE20codeE20eE78ampleE20toE20learnE20howE20toE20useE20anE20openE20sourceE20IE52CE20libraryE20andE20OpenE20CE20toE20createE20aE20functionalE20IE52CE20clientE20applicationE2eE20TheE20eE78ampleE20containsE20aE20simpleE20openE20sourceE20CE20libraryE20CIE52CE20forE20communicatingE20withE20IE52CE20serversE20thatE20isE20portedE20toE20SymbianE20OSE20usingE20OpenE20CE20andE20calledE20fromE20aE20GUIE20thatE20isE20implementedE20usingE20SymbianE20CE2bE2bE2eE20TheE20useE20caseE20ofE20theE20eE78ampleE20isE20toE20communicateE20withE20otherE20IE52CE20usersE20onE20theE20chosenE20IE52CE20serverE2eE20ThisE20eE78ampleE20alsoE20supportsE20sendingE20E22rawE22E20IE52CE20commandsE20andE20isE20thereforeE20aE20fullyE20functionalE20clientE20applicationE2eE20AE20documentE20aboutE20portingE20eE78periencesE20andE20eE78ampleE20architectureE20isE20alsoE20includedE20inE20theE20packageE2eE20ImportantE20librariesE2fstructsE2ffunctionsE3aE20libcE2cE20sockaddrE5finE2cE20socketE2cE20gethostbynameE2cE20connectE2cE20nonblockingE2eX
qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fe767bbeaE2da086E2d47eaE2d9966E2d597cd7edc041E2fOpenE5fCE5fIE52CE5fE45E78ampleE5fv1E5f0E5fenE2ezipX
qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX
qmarsZtitleQSxOpenE20CE3aE20IE52CE20E45E78ampleX
qncZrightsQSxCopyrightE20Ea9E202007E20NokiaE20CorporationE2eX
qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ
qrdfZtypeQUqfnZE45E78cludedFromSearchQ
qrdfZtypeQUqfnTypeZApplicationQ
qrdfZtypeQUqfnTypeZE45E78ampleQ
qrdfZtypeQUqfnTypeZE52esourceQ
qrdfZtypeQUqmarsZManagedE52esourceQ
qrdfZtypeQUqmarsZMediaObjectQ
qrdfZtypeQUqwebZInformationE52esourceQ
qrdfZtypeQUqwebZE52esourceQ
qrdfZtypeQUqrdfsZE52esourceQ



