sim: dv-sockser: pass up connected state
authorMike Frysinger <vapier@gentoo.org>
Tue, 13 Apr 2010 20:58:54 +0000 (20:58 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 13 Apr 2010 20:58:54 +0000 (20:58 +0000)
commite8a761519bd9067830a80b554b8babcca09e42bd
tree27e8e23fdd00501a7bbfedc295bf451bdcf14a34
parent6f2bc2ee5d9d7c968de49810535e401ee0f6d8a7
sim: dv-sockser: pass up connected state

A few ports rely on internal dv-sockser state in order to detect whether
a connection has been made (look for 'extern sockser_addr').  Rather than
continuing that tradition, extend the existing status function to return
the socket connection status.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/common/ChangeLog
sim/common/dv-sockser.c
sim/common/dv-sockser.h