|
|
Summary
Just as giving a cashier two lines to process instead of one won't make her process more customers per
There is more to multithreaded programming than this chapter can cover. For further reading, we recommend Programming with POSIX Threads by David R. Butenhof.
Our
|
|
|
|
|
Chapter 18. Programming with wxSocket
A socket is a conduit for data. A socket doesn't care what kind of data
The socket API was originally a part of the BSD Unix operating system, and because that socket API originated from only one source, it has become the standard. All modern operating systems offer a socket layer, providing the ability to send data over a network (such as the Internet) using common protocols such as TCP or UDP. Using wxWidgets'
wxSocket
classes, you can reliably communicate any amount of data from one computer to another. This chapter assumes some basic socket terminology knowledge, but socket operations are
Even though the basic socket features and functions are very similar on Windows, Linux, and Mac OS X, each socket API implementation has its own
Please note that wxWidgets does not, at the time of this writing, support sending and receiving datagrams using the UDP protocol. Future releases of wxWidgets might add UDP capabilities. |
|
|
|
|
Socket Classes and Functionality Overview
At the
Sockets in wxWidgets can
This chapter provides examples of both
|
|
|