This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]