|
@@ -232,7 +232,7 @@ void SctpTransport::close() {
|
|
|
|
|
|
void SctpTransport::connect() {
|
|
void SctpTransport::connect() {
|
|
if (!mSock)
|
|
if (!mSock)
|
|
- return;
|
|
|
|
|
|
+ throw std::logic_error("Attempted SCTP connect with closed socket");
|
|
|
|
|
|
PLOG_DEBUG << "SCTP connecting";
|
|
PLOG_DEBUG << "SCTP connecting";
|
|
changeState(State::Connecting);
|
|
changeState(State::Connecting);
|