|
|
|
|
|
If you have any general questions
about Ebsotech, please send e-mail
to info@ebsotech.com or
contact Ebsotech Research and Development
Center at the following address:
Ebsotech, Inc.
Rajakyläntie 28 A
01280 Vantaa
FINLAND
Tel: +358(0)442885299
|
|
|
|
|
|
|
|
Why
is it easier to use high-level
Receiver objects than low-level
sockets?
|
|
If you want to have your server
to receive data from multiple
open client connections, and
at the same time listen to the
server socket for new connections,
you need to use dxaInetGetSocketsByStatuses()
or raw BSD socket functions select()
or poll() to wait for status
changes in the sockets. This
procedure is not entirely simple,
especially when you need to add
new connections and remove old
connection sockets. The client
connection can also break unexpectedly,
raising a signal, which has to
be handled properly.
The Receiver object (inherited
by Listener and Message Receiver)
presents a simple and intuitive
event-based solution to this
problem. It is extensible, enabling
you to build upper-level protocol
events.
Creating a Listener is also easier
than creating a server socket
for listening.
|
|
« Go
back |
|
|
|
|
|
|
|
| For
additional information on how to
purchase Ebsotech's products and
services, please contact sales@ebsotech.com |
|
|
|
|
|
|
|
|
| If
you have any questions or requests
regarding Ebsotech IX™ SDK,
please send e-mail to sdk@ebsotech.com |
|
|
|
|
|