This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
How to stop listening on socket in RedBoot?
- From: Grant Edwards <grant dot b dot edwards at gmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 8 Jun 2011 14:47:28 +0000 (UTC)
- Subject: [ECOS] How to stop listening on socket in RedBoot?
How do you stop listening on a socket in RedBoot?
Calling __tcp_close() on a listening socket appears to be a noop.
I've found __tcp_abort(), but it seems to be a deferred call that's
handled later via the timer list, and it's going to try to send on a
socket that's not connected.
do_reset() seems to be what I want, but it's not visible to
application code.
--
Grant Edwards grant.b.edwards Yow! Is this sexual
at intercourse yet?? Is it,
gmail.com huh, is it??
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss