Summary
The server and client presented in this tutorial are simple,
but they show everything essential to writing UDP sockets
applications in C and in Python. A more sophisticated client or
server is, at heart, just one that transmits more interesting data
back and forth; the sockets-level code is not much different for
these.
The general outlines of performing threading, forking, and
asynchronous socket handling are similarly applicable to more
advanced servers. Your servers and clients themselves are likely
to do more, but your strategies towards scalability will always
be one of these three approaches (or a combination of them).
7 of 9 |
Previous |
Next
Comments
Back to top
Help: Update or add to My dW interests
What's this?
This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.
And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.
View your My developerWorks profile
Return from help
static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Linux
ArticleID=133076
TutorialTitle=Programming Linux sockets, Part 2: Using UDP
publish-date=01252004
author1-email=mertz@gnosis.cx
author1-email-cc=