[ECOS] How to stop listening on socket in RedBoot?

Grant Edwards grant.b.edwards@gmail.com
Wed Jun 8 14:48:00 GMT 2011


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



More information about the Ecos-discuss mailing list